Indicate the active account
This commit is contained in:
1 parent
eced6e6a6d
commit
cf5dcfbc0f
4 files changed
+115
-22
No files matched your search
@@ -0,0 +1,23 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class AccountIndicator extends StatelessWidget {
|
||||
final String accountName;
|
||||
|
||||
const AccountIndicator({super.key, required this.accountName});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return SizedBox(
|
||||
height: 50,
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
accountName,
|
||||
style: Theme.of(context).textTheme.titleLarge,
|
||||
),
|
||||
],
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user