diff --git a/README.md b/README.md index cc9b509..9f30eac 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ # Calculator -**v0.2.1** +**v0.2.2** ### A Simple but elegant Calculator app made with Flutter using Google's Material Design with Currency (Exchange Rate) and Unit Converter. @@ -87,15 +87,15 @@ This project is licensed under the GPL-3.0 License - see the [LICENSE](LICENSE) -[universal-release]: https://github.com/rajput-hemant/calculator/releases/download/v0.2.1/Calculator-v0.2.1-universal-release.apk -[arm64]: https://github.com/rajput-hemant/calculator/releases/download/v0.2.1/Calculator-v0.2.1-arm64-v8a-release.apk -[armabi]: https://github.com/rajput-hemant/calculator/releases/download/v0.2.1/Calculator-v0.2.1-armeabi-v7a-release.apk -[x86]: https://github.com/rajput-hemant/calculator/releases/download/v0.2.1/Calculator-v0.2.1-x86_64-release.apk +[universal-release]: https://github.com/rajput-hemant/calculator/releases/download/v0.2.2/Calculator-v0.2.2-universal-release.apk +[arm64]: https://github.com/rajput-hemant/calculator/releases/download/v0.2.2/Calculator-v0.2.2-arm64-v8a-release.apk +[armabi]: https://github.com/rajput-hemant/calculator/releases/download/v0.2.2/Calculator-v0.2.2-armeabi-v7a-release.apk +[x86]: https://github.com/rajput-hemant/calculator/releases/download/v0.2.2/Calculator-v0.2.2-x86_64-release.apk -[sc-zip]: https://github.com/rajput-hemant/calculator/archive/refs/tags/v0.2.1.zip -[sc-tar.gz]: https://github.com/rajput-hemant/calculator/archive/refs/tags/v0.2.1.tar.gz +[sc-zip]: https://github.com/rajput-hemant/calculator/archive/refs/tags/v0.2.2.zip +[sc-tar.gz]: https://github.com/rajput-hemant/calculator/archive/refs/tags/v0.2.2.tar.gz diff --git a/lib/screens/about_screen.dart b/lib/screens/about_screen.dart index e971ab5..ae09542 100644 --- a/lib/screens/about_screen.dart +++ b/lib/screens/about_screen.dart @@ -36,7 +36,7 @@ class AboutScreen extends ConsumerWidget { ), ), subtitle: Center( - child: Text('v0.2.1'), + child: Text('v0.2.2'), ), ), const Padding( diff --git a/lib/screens/select_unit_screen.dart b/lib/screens/select_unit_screen.dart index 367a5a4..457fe70 100644 --- a/lib/screens/select_unit_screen.dart +++ b/lib/screens/select_unit_screen.dart @@ -19,15 +19,14 @@ class SelectUnitScreen extends StatefulWidget { } class _SelectUnitScreenState extends State { - late List _filteredList; - late TextEditingController _searchController; + final TextEditingController _searchController = TextEditingController(); + late List _filteredList = widget.list; bool _isSearching = false; @override void initState() { super.initState(); _filteredList = widget.list; - _searchController = TextEditingController(); } @override diff --git a/pubspec.yaml b/pubspec.yaml index 07d2818..7687886 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: calculator description: A Simple but elegant Calculator app made with Flutter with Currency (Exchange Rate) & Unit Converter. publish_to: "none" # to prevent accidental publication of package to pub.dev -version: 0.2.1 +version: 0.2.2 environment: sdk: ">=3.0.2 <4.0.0"