2.0.0 Stable
This day marks a milestone of a brighter new future in Flutter app development.
The release of Niku codename Heaven and Earth or Niku 2.
After months of research and experiment, we finally settle down with the answer, and we think you going to love it.
Niku 2
TLDR; an entire rewrite, read more at Introducing Niku 2
Below is the Change Log from the previous 2.0 beta
[2.0.0-compat.0] - 2022/02/21
Base on 2.0.0-rc.8
A compatibility version for working with both v1 and v2 for gradually migrating from v1.
To gradually migrate from v1, simply replace all:
// From
import 'package:niku/niku.dart';
// into
import 'package:niku/v1/niku.dart';You can easily use IDE like VS Code to find and replace all package:niku/ with package:niku/v1/ then it should work just fine, gradually migrate from v1.
[2.0.0-rc.8] - 2022/02/20
Bux Fix:
- Add
copiedto NikuImage, NikuSlider, NikuRangeSlider. - Apply parent builder to
copiedmethod
[2.0.0-rc.7] - 2022/02/20
Feature:
- New
useonNikuWidgetto apply multiple styles at once - Add
useBorder,useRoundedBorder - Add
applytoNikuIcon - Add
WidthHeightMacro
Change:
- Add
Full Macroconventions - Use Parent Builder stack instead of direct setter to support apply parent styling
Bux Fix:
- Fix wrong spelling of
actionPb - Use
Full MacroonAlert - n.showDialog now accepts any widget
[2.0.0-rc.6] - 2022/02/19
Change:
- showNikuDialog now accepts any widget
[2.0.0-rc.5] - 2022/02/17
Bug Fix:
- Add default
.roundedtoNikuButton - Fix gap inserted to last children
- Fix Column with gap required at least 1 children
[2.0.0-rc.4] - 2022/02/14
Breaking Change:
- Remove
NikuImage.filefactory to support web platform.
[2.0.0-rc.3] - 2022/02/14
Breaking Change:
- Remove cached network image due to not supporting all platform yet.
[2.0.0-rc.2] - 2022/02/13
Feature:
- Add
.quarterTurns,bgBlur,clipRect,clipOvaltoNiku
Change:
- Remove default styling from
NikuTextto match default Flutter Text, eg. TextBasis.
Bug fixes:
AxisMacronot assigning wrong field name
[2.0.0-rc.1] - 2022/02/13
Breaking Change:
- Migrate
.useScreentouseSize - Migrate
.useQueryto.useScreen - Migrate
.useEventstouseGesture - Remove
TransformSelectableText
Feature:
- Add
.useQueryto handleMediaQueryData - Add
useBorder,useNikuBorder,useBorderColor,useBorderWidthhook - Add
.useDarkModeto handle element styling on Dark Theme - Add
n.Image.cacheto useCacheNetworkImage
Bug fixes:
- Correct
focusedErrorBordersetter name
[2.0.0-experimental.4] - 2022/01/31
Breaking Change:
- Remove
asNikuon Widget (still working for object) - Migrate
.useOntouseEvents
Feature:
- Add
.focusColor,.splashColor,highlightColor,hoverColortoNikuCheckboxListTile - Add
.adaptivetoNikuAlert - Add
.adaptivetoSwitch - Add
.adaptivetoNikuTextFormField - Add
NikuShowDialogto handle adaptive dialog - New
NikuQuerywidget
Bug fixes:
.onproperty inNikudoesn't passing dependencies to concilation process
[2.0.0-experimental.3] - 2022/01/29
Feature:
- Add
useQueryanduseScreenproperty, read more about it here
Bug fixes:
.onproperty inNikudoesn't passing dependencies to concilation process
[2.0.0-experimental.2] - 2022/01/25
Feature:
- Game Changing,
NikuOn,.onand.freezedproperty, read more about it here NikuDropdownButtonwidget forDropdownButton
Bug fixes:
- Change from Nullish cascade equality to nullish check to override
useStyle's style
Breaking Change:
- Migrate
.useStyleto.useTextStyle()onNikuText. - Migrate
.useStyleto.useButtonStyle()onNikuButton. - Change
.useStyleto.useButtonStyle()onNikuButton. - Migrate
.useBuilder,useParenttouseChildonNiku. - Migrate from
.valueto.widgeton every Niku component. - Migrate from
styletotextStyleon every Niku component.
[2.0.0-experimental.1] - 2021/12/16
- Namespace
- Selectable Text
