52 lines
No EOL
968 B
Dart
52 lines
No EOL
968 B
Dart
|
|
import 'package:clawd_code/ui/widgets/common/button.dart';
|
|
import 'package:shadcn_flutter/shadcn_flutter.dart';
|
|
|
|
class AccountButton extends StatelessWidget {
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
// TODO: implement build
|
|
return AgcGhostButton(
|
|
onPressed: () {
|
|
|
|
},
|
|
child: Padding(
|
|
padding: const EdgeInsets.all(8.0),
|
|
child: Row(
|
|
children: [
|
|
|
|
Avatar(
|
|
initials: "BW",
|
|
),
|
|
|
|
Gap(12),
|
|
|
|
Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
Text(
|
|
"Benjamin Watt"
|
|
).small,
|
|
|
|
Text(
|
|
"Pro plan"
|
|
).xSmall.muted
|
|
|
|
],
|
|
),
|
|
|
|
Spacer(),
|
|
|
|
Icon(
|
|
LucideIcons.ellipsisVertical
|
|
),
|
|
|
|
Gap(10),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
|
|
} |