diff --git a/CHANGELOG.md b/CHANGELOG.md index 3514093144bbb9fd3fbac9579c66313d8de09b31..df15e166475aa734e25c4ebc0d9cf23bae801706 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.8.3 + +- Improve topbar buttons + ## 0.8.2 - Remove deprecations diff --git a/lib/nav/application_navigation_definition.dart b/lib/nav/application_navigation_definition.dart index 9f021ae63c4f60e5fce0bc736cd6d8833e5adeaa..da67c82c9bfea3dbd83ba16657ea22a571f5157d 100644 --- a/lib/nav/application_navigation_definition.dart +++ b/lib/nav/application_navigation_definition.dart @@ -77,10 +77,10 @@ class AppBarButton { }); Widget render(BuildContext context) { - return ElevatedButton( + return TextButton( onPressed: () => onPressed!(context), onLongPress: () => onLongPress!(context), - style: ElevatedButton.styleFrom( + style: TextButton.styleFrom( shape: const CircleBorder(), iconColor: Theme.of(context).colorScheme.onSurface, ), diff --git a/pubspec.yaml b/pubspec.yaml index e9f6af4fd8948a77fe4e6fb6a212aa58b1a5760a..9c4e1c361a803afa8adc813ae9b4450b02819cdc 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: "Flutter custom toolbox for org.benoitharrault.* projects." publish_to: "none" -version: 0.8.2 +version: 0.8.3 homepage: https://git.harrault.fr/android/flutter-toolbox