Skip to content

Commit

Permalink
v2.0.0 stable release
Browse files Browse the repository at this point in the history
  • Loading branch information
deepraj02 authored Oct 26, 2023
2 parents b5393bb + c414d6f commit a085857
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 22 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
21 changes: 1 addition & 20 deletions coverage_badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Binary file modified example/web/icons/Icon-maskable-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/web/icons/Icon-maskable-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion lib/src/widgets/widgets.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
//export './bottom nav/neu_bottom_nav.dart';
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a085857

Please sign in to comment.