diff --git a/CHANGELOG.md b/CHANGELOG.md index 49c97a0..e112138 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,31 @@ +# 2.0.0 (26-10-2023) + +## Release Highlights +2.0.0 (Feature Update) will focused on adding more UI components and will reduce the complexity of creating Custom UI from this Package. +### Breaking Changes +- [x] `NeuCard` is depriciated now and will be Removed in the Following Versions. (For better Styling Freedom use `NeuContainer` instead). +- [x] `NeuTextButton` contains some breaking changes as the `Widget` child properties is removed completely and replaced with `Text` Property focusing only on keeping Texts in the `NeuTextButton`. (For Complex UI design choose `NeuContainer`) +- [x] Removed the property `paddingData` from `NeuIconButton` +### Changes +- [x] Migrated to NeuContainer instead of Material Container in all widgets of this Package `NeuTextButton` `NeuSearchBar` & `NeuIconButton`. +- [x] Changed the Initial UI Lookup Styling for widgets like `NeuTextButton` & `NeuSearchBar`. +### Features +- [x] OnPressed animation added in v2.0.0 for `NeuTextButton` & `NeuIconButton` (accessable by the `enableAniamtion` and `animationDuration` flags). + +### Documentation +- [x] `example/main.dart` revamp to contain all NeuWidgets. +- [ ] Code Snippets and Set-up process explained for all the widgets + +### Issues Fixed +- [x] closes #28 +- [x] closes #24 +- [x] closes #29 +- [x] closes #28 +- [x] closes #25 + +### TODO's +- [ ] closes #26 +- [ ] closes #33 # 2.0.0-beta-2(03-09-2023) diff --git a/README.md b/README.md index d4b1151..5e70fc3 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,19 @@ NeuTextButton( ### The Neu - NeuBottomNav +#### Usage ans Setup +In-order to disable the container overflow behind the Bottom Nav we need to specify the following flags in both the `Scaffold` and `SafeArea` widget. + +The NeuBottomNav contains some additional flags such as `hideOnScroll`, `enableFloating` etc: +```dart +Scaffold( + resizeToAvoidBottomInset: false, + extendBody: true, + child:SafeArea( + bottom: false, + )) +``` #### Examples: diff --git a/coverage_badge.svg b/coverage_badge.svg index 499e98c..0224b45 100644 --- a/coverage_badge.svg +++ b/coverage_badge.svg @@ -1,20 +1 @@ - - - - - - - - - - - - - - - coverage - coverage - 100% - 100% - - +coveragecoverage100%100% \ No newline at end of file diff --git a/example/lib/main.dart b/example/lib/main.dart index 62b4ab8..14dde21 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -28,7 +28,11 @@ class ScreenWidget extends StatelessWidget { Widget build(BuildContext context) { final controller = TextEditingController(); return Scaffold( + resizeToAvoidBottomInset: false, + extendBody: true, + // backgroundColor: const Color.fromARGB(255, 232, 210, 236), body: SafeArea( + bottom: false, minimum: const EdgeInsets.only(top: 30, left: 10, right: 10), child: SingleChildScrollView( child: Column( diff --git a/example/web/icons/Icon-maskable-192.png b/example/web/icons/Icon-maskable-192.png index eb9b4d7..9a7de93 100644 Binary files a/example/web/icons/Icon-maskable-192.png and b/example/web/icons/Icon-maskable-192.png differ diff --git a/example/web/icons/Icon-maskable-512.png b/example/web/icons/Icon-maskable-512.png index d69c566..dafda6e 100644 Binary files a/example/web/icons/Icon-maskable-512.png and b/example/web/icons/Icon-maskable-512.png differ diff --git a/lib/src/widgets/widgets.dart b/lib/src/widgets/widgets.dart index 404854a..e37f568 100644 --- a/lib/src/widgets/widgets.dart +++ b/lib/src/widgets/widgets.dart @@ -5,4 +5,4 @@ export './containers/neu_card.dart'; export 'containers/neu_search_bar.dart'; export 'containers/neu_container.dart'; -export './bottom nav/neu_bottom_nav.dart'; \ No newline at end of file +//export './bottom nav/neu_bottom_nav.dart'; \ No newline at end of file diff --git a/pubspec.yaml b/pubspec.yaml index 83c64b6..5126ef7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,7 +5,7 @@ description: A Flutter package that provides a set of Neubrutalism-style UI maintainer: Deepraj Baidya <@deepraj02> repository: https://github.com/deepraj02/neubrutalism_ui.git issue_tracker: https://github.com/deepraj02/neubrutalism_ui/issues/ -version: 2.0.0-beta-2 +version: 2.0.0 environment: sdk: ">=2.19.0 <4.0.0"