niku 1.0.0-alpha.1
niku: ^1.0.0-alpha.1 copied to clipboard
Property builder for styling Widget with SwiftUI like pattern
1.0.0-alpha.1 2021/3/25 #
Bug Fix:
- add Key
1.0.0-alpha.0 2021/3/24 #
Feature:
- Remove
.build()and.style() - Niku Internal is now mutating property instead of stacking
- Add
.asNikuon component instead of using Niku Component - Match
NikuButtonto idiomatic Dart - Add
TextStyleto TextButton - Every Niku Component now support margin property
Breaking Change:
- Every Niku Component now extend
NikuCorewhich extendsStatelessWidget - Variant method
NikuButtonis removed.icontoNikuButton.icon.texttoNikuButton.text.elevatedtoNikuButton.elevated.elevatedIcontoNikuButton.elevatedIcon.outlinedtoNikuButton.outlined.outlinedIcontoNikuButton.outlinedIcon
Change:
- Remove usage of
this.except for constructor - Every margin property is moved to
NikuCore - Build is now using
internalBuild - Remove container if margin is not presented
Bug fix:
- Foreground on text change background instead
- Fix margin not mistakenly setting on padding instead
0.5.5 2021/3/15 #
Feature:
- Add
animatedBuilder,animatedforAnimationBuilder - Add
animatedContainerforAnimatedContainer - Add
semanticsforSemantics
Changed:
- Move use of
ContainertoDecoratedBox- The property which affected this changed including:
- boxDecoration
- border
- shadows
- The property which affected this changed including:
- Move use of
ContainertoSizedBox- The property which affected this changed including:
- fullSize
- fullWidth
- fullHeight
- The property which affected this changed including:
0.5.4 2021/3/11 #
Bug fixes:
- Wrong size on
widthPercent,heightPercentandsizePercent - Unable to use
NikuRowwithout specifyingcrossAxisAlignment - Add optional
onTapto.inkwell
0.5.3 2021/3/11 #
Bug fixes:
- Wrong size on
widthPercent,heightPercentandsizePercent
0.5.2 2021/3/11 #
Feature:
- Add
builderon Niku for composing custom widget. - Add
widthPercent,heightPercentandsizePercent
Changed:
bgandbackgroundColorofNikuare now usingColoredBoxinstead ofContainerNikunow don't required any constructor Widget
0.5.1 2021/3/7 #
Bug fixes:
- Fix apply overriding written value
0.5.0 2021/3/6 #
Breaking Change:
- Deprecated:
- FlatButton
- RaisedButton
- ElevatedButton
- Move
button.darttooldButton.dart - Move
NikuButtontobutton.dart - Importing
package:niku/niku.dartwon't importoldButton.dart - Only support Flutter 2.0.0 or newer
Feature:
- Add
NikuButtonfor new building new universal Button including- TextButton
- TextButton.icon
- ElevatedButton
- ElevatedButton.icon
- OutlinedButton
- OutlinedButton.icon
Documentation
- Add code highlight to widget example usage
0.4.0 2021/3/4 #
Feature:
- Add support for Sound Null Safety of Flutter 2
- Only support Flutter 2.0.0 or newer
Refactor:
- Constructor to use
thisas parameter - Remove
overflowfrom stack as it's deprecated
Documentation:
- Fix Null Coalesce
- Fix
borderColor,borderStylefrom crashing on outlineButton
0.3.2 2021/2/25 #
Documentation:
- Fix Null Coalesce
- Fix
borderColor,borderStylefrom crashing on outlineButton
0.3.1 2021/2/25 #
Documentation:
- Fix wrong spelling of
disabledon outlineButton - Fix
setBorderofoutlineButtonfrom crashing
0.3.0 2021/2/22 #
Feature:
- Add support for:
- NikuStack
- Niku extension for
IconButton
- Niku extension for
- NikuStack
- Add more property to Base Widget
- Backdrop filter
- Positioned
- singleChildScrollView / scrollable
- flexible / flex
- Add group import
- Add extension Widget
- Add
.niku()extension for widget
- Add
Documentation:
-
Add property documentation
-
Correcting wrong spelling
-
Bug fixes:
- Fixes border not rendering children
- Mark children constructor in Row as required
0.2.0 2021/2/21 #
Feature:
- Add support for:
- NikuIconButton
- Niku extension for
IconButton
- Niku extension for
- NikuIconButton
- Add new property to
Niku (base):on- Event listenermaterial- Add [Material] to WidgetinkWell- Add [InkWell] to Widgetborder- Decorate with border using [Border]
- Add group for
flatButton,raisedButton,outlineButtonandflatButtonaspackage:niku/widget/button
Documentation:
-
Restructure documentation
-
Bug fixes:
- Wrong spelling of documentation in several place
- Prevent
toolbarOptionsfrom crashing if not specified all by adding default value
0.1.2 2021/2/21 #
Bug fixes:
- Fix require padding for
NikuFlatButton,NikuOutlineButtonandNikuRaisedButton
0.1.1 2021/2/21 #
Bug fixes:
README.mdimage not showing banner.
0.1.0 2021/2/21 #
Initialize project
Add support for
- Niku
- Niku base for styling widget
- NikuText
- Niku extension for
Text
- Niku extension for
- Column
- Niku extension for
Row
- Niku extension for
- Row
- Niku extension for
Column
- Niku extension for
- NikuTextField
- Niku extension for
TextFormField
- Niku extension for
- NikuFlatButton
- Niku extension for
FlatButton
- Niku extension for
- NikuRaisedButton
- Niku extension for
RaisedButton
- Niku extension for
- NikuOutlineButton
- Niku extension for
OutlineButton
- Niku extension for