niku 2.0.0-rc.5
niku: ^2.0.0-rc.5 copied to clipboard
Property builder for styling Widget with SwiftUI like pattern
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
1.1.3 2021/9/30 #
Thanks to y-pakron for fixing the bug!
This release fix the expanded method to be flexible on NikuCore where I overlook.
Without this PR, we are going to have time confusion of why flexing doesn't work!
Bug fixes:
- Apply
flexparameter toexpandedonNikuCore
1.1.2 2021/7/20 #
Thanks to dmitrijkiltau for contribution!
This release add the nullable onTap on NikuButton, also adding the example for that.
Bug fixes:
- Nullable onTap on
NikuButton
1.1.1 2021/7/11 #
Big thanks to y-pakorn for this release! He contribute to Niku for a several PR now, in fact, this entire release is happend because of his contribution which solved bug caused by my clumsiness, tee hee~
Feature:
- Add
mainAxisSizetoNikuColumnandNikuRow
Bug fixes:
- Fixes
.fullWidth()which cause full height. - Makes error text optional on
NikuTextField.
1.1.0 2021/6/2 #
Feature:
- selectable text
1.0.5 2021/4/24 #
Bug fix:
- builder return Widget instead of Niku.
1.0.4 2021/4/24 #
Bug fix:
- log
1.0.3 2021/4/24 #
Bug fix:
- builder return void.
1.0.2 2021/4/24 #
Feature:
- add
.scrollbarto base. - add
.style,.themeto text.
1.0.1 2021/4/7 #
Breaking Change:
- Remove
.textfrom NikuText.
Change:
- Adding final to constructor parameter.
Bug fix:
- Fix key not setting for several widget.
- Fix
animatedandanimatedBuildernot working.
1.0.0 2021/4/7 #
Bug fix:
this.access property.
1.0.0-alpha.4 2021/4/1 #
Feature:
- Add
NikuWrap - Add
formtoNikuBase. - Add
focusedErrortoTextFieldborder input.
Bug fix:
applyusing unexpected share property.applyonNikuTextFieldwithoutAlignVerticalcause build to failed.
1.0.0-alpha.3 2021/3/31 #
Feature:
- Add
cursorto IconButton. - Add the following property to
IconButton:size,minSize,minimumSizemaxSize,maximumSizeminWidth,minimumWidthminHeight,minimumHeightmaxWidth,maximumWidthmaxHeight,maximumHeight
- Boolean method on
NikuTextFieldnow has default value oftrue.
Breaking Change:
- Rename
bordertobandsetBordertoborder. - Change
obscureTextFormFieldtoobscureTexton NikuTextField. - Add
asPasswordon NikuTextField. - Remove
disabledSmartDashesanddisabledSmartQuotes. enableSmartQuotesandenableSmartDashesnow accept option boolean default as true.- Change from
inputDecorationEnabletoenableInputDecoration. - Change from
...textFormFieldto...textin NikuTextField.
Bug fix:
- Fix Visual Density in NikuButton.
- Setting multiple border variant not working
1.0.0-alpha.2 2021/3/28 #
Breaking Change:
- Swap arguments of animated
Change:
- Remove Nested instance from base property
- Add default value of
truetoabsortPointerandignorePointer
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