Update button style

This commit is contained in:
Ashita Prasad
2024-07-15 00:26:08 +05:30
parent 71f987e72f
commit e1437a51ca
2 changed files with 5 additions and 5 deletions

View File

@@ -13,9 +13,6 @@ class SidebarHeader extends ConsumerWidget {
@override
Widget build(BuildContext context, WidgetRef ref) {
final mobileScaffoldKey = ref.read(mobileScaffoldKeyStateProvider);
final elevatedButtonStyle = ElevatedButton.styleFrom(
padding: const EdgeInsets.symmetric(horizontal: 12),
);
return Padding(
padding: kPe8,
@@ -25,7 +22,7 @@ class SidebarHeader extends ConsumerWidget {
const Spacer(),
ElevatedButton(
onPressed: onAddNew,
style: elevatedButtonStyle,
style: kButtonSidebarStyle,
child: const Text(
kLabelPlusNew,
style: kTextStyleButtonSmall,
@@ -34,7 +31,7 @@ class SidebarHeader extends ConsumerWidget {
const SizedBox(width: 12),
ElevatedButton(
onPressed: onImport,
style: elevatedButtonStyle,
style: kButtonSidebarStyle,
child: const Text(
kLabelImport,
style: kTextStyleButtonSmall,