|
|
|
@ -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, |
|
|
|
|
); |
|
|
|
|