Skip to content
Snippets Groups Projects
Commit 63d38ebc authored by Benoît Harrault's avatar Benoît Harrault
Browse files

Merge branch '18-improve-topbar-buttons' into 'master'

Resolve "Improve topbar buttons"

Closes #18

See merge request !17
parents 4871ae1b a091a99a
No related branches found
No related tags found
1 merge request!17Resolve "Improve topbar buttons"
Pipeline #7405 passed
## 0.8.3
- Improve topbar buttons
## 0.8.2 ## 0.8.2
- Remove deprecations - Remove deprecations
......
...@@ -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,
), ),
......
...@@ -3,7 +3,7 @@ description: "Flutter custom toolbox for org.benoitharrault.* projects." ...@@ -3,7 +3,7 @@ description: "Flutter custom toolbox for org.benoitharrault.* projects."
publish_to: "none" publish_to: "none"
version: 0.8.2 version: 0.8.3
homepage: https://git.harrault.fr/android/flutter-toolbox homepage: https://git.harrault.fr/android/flutter-toolbox
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment