diff --git a/.github/workflows/flutter.yml b/.github/workflows/flutter.yml index 367279c..8b7da1d 100644 --- a/.github/workflows/flutter.yml +++ b/.github/workflows/flutter.yml @@ -29,7 +29,7 @@ jobs: run: flutter pub get - name: Verify formatting - run: flutter format --output=none --set-exit-if-changed . + run: dart format --output=none --set-exit-if-changed . # Consider passing '--fatal-infos' for slightly stricter analysis. - name: Analyze project source diff --git a/CHANGELOG.md b/CHANGELOG.md index be59d57..4170010 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## [2.0.4] +- Update README + ## [2.0.3] - Integrate original changes diff --git a/README.md b/README.md index 1cef804..4de3246 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ This package is a fork of the original curved_navigation_bar from https://github ```yaml dependencies: - curved_labeled_navigation_bar: ^2.0.3 #latest version + curved_labeled_navigation_bar: ^2.0.4 #latest version ``` ### Easy to use @@ -123,7 +123,7 @@ Scaffold( child: Center( child: Column( children: [ - Text(_page.toString(), textScaleFactor: 10.0), + Text(_page.toString(), textScaler: TextScaler.linear(10.0)), ElevatedButton( child: Text('Go To Page of index 1'), onPressed: () { diff --git a/example/lib/main.dart b/example/lib/main.dart index 4ed588d..73266cc 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -59,7 +59,7 @@ class _BottomNavBarState extends State { child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ - Text(_page.toString(), textScaleFactor: 10.0), + Text(_page.toString(), textScaler: TextScaler.linear(10.0)), ElevatedButton( child: Text('Go To Page of index 1'), onPressed: () { diff --git a/example/pubspec.lock b/example/pubspec.lock index 89a7416..38b277f 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -55,7 +55,7 @@ packages: path: ".." relative: true source: path - version: "2.0.3" + version: "2.0.4" fake_async: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 6fab5de..f16f5dd 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: curved_labeled_navigation_bar description: Stunning Animating Curved Shape Navigation Bar. Adjustable color, background color, animation curve, animation duration. -version: 2.0.3 +version: 2.0.4 homepage: https://github.com/namanh11611/curved_labeled_navigation_bar environment: