Browse Source

refactor(neon): remove color property from AccountSettingsTile

Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
pull/886/head
Nikolas Rimikis 1 year ago
parent
commit
febd7b18be
No known key found for this signature in database
GPG Key ID: 85ED1DE9786A4FF2
  1. 4
      packages/neon/neon/lib/src/settings/widgets/account_settings_tile.dart

4
packages/neon/neon/lib/src/settings/widgets/account_settings_tile.dart

@ -8,21 +8,19 @@ import 'package:neon/src/widgets/account_tile.dart';
class AccountSettingsTile extends SettingsTile {
const AccountSettingsTile({
required this.account,
this.color,
this.trailing,
this.onTap,
super.key,
});
final Account account;
final Color? color;
final Widget? trailing;
final GestureTapCallback? onTap;
@override
Widget build(final BuildContext context) => NeonAccountTile(
account: account,
color: color,
trailing: trailing,
onTap: onTap,
);

Loading…
Cancel
Save