No more build
No more build
Niku 1.0.0 introduced breaking change. To remove build() method!
Please remove your build method.
[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
