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
.asNiku
on component instead of using Niku Component - Match
NikuButton
to idiomatic Dart - Add
TextStyle
to TextButton - Every Niku Component now support margin property
Breaking Change:
- Every Niku Component now extend
NikuCore
which extendsStatelessWidget
- Variant method
NikuButton
is removed.icon
toNikuButton.icon
.text
toNikuButton.text
.elevated
toNikuButton.elevated
.elevatedIcon
toNikuButton.elevatedIcon
.outlined
toNikuButton.outlined
.outlinedIcon
toNikuButton.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