Skip to content
Snippets Groups Projects

Resolve "Improve topbar buttons"

Merged Benoît Harrault requested to merge 18-improve-topbar-buttons into master
3 files
+ 7
3
Compare changes
  • Side-by-side
  • Inline

Files

@@ -77,10 +77,10 @@ class AppBarButton {
@@ -77,10 +77,10 @@ class AppBarButton {
});
});
Widget render(BuildContext context) {
Widget render(BuildContext context) {
return ElevatedButton(
return TextButton(
onPressed: () => onPressed!(context),
onPressed: () => onPressed!(context),
onLongPress: () => onLongPress!(context),
onLongPress: () => onLongPress!(context),
style: ElevatedButton.styleFrom(
style: TextButton.styleFrom(
shape: const CircleBorder(),
shape: const CircleBorder(),
iconColor: Theme.of(context).colorScheme.onSurface,
iconColor: Theme.of(context).colorScheme.onSurface,
),
),
Loading