niku 2.0.0-experimental.3 niku: ^2.0.0-experimental.3 copied to clipboard
Property builder for styling Widget with SwiftUI like pattern
[2.0.0-experimental.3] - 2022/01/29 #
Feature:
- Add
useQuery
anduseScreen
property, read more about it here
Bug fixes:
.on
property inNiku
doesn't passing dependencies to concilation process
[2.0.0-experimental.2] - 2022/01/25 #
Feature:
- Game Changing,
NikuOn
,.on
and.freezed
property, read more about it here NikuDropdownButton
widget forDropdownButton
Bug fixes:
- Change from Nullish cascade equality to nullish check to override
useStyle
's style
Breaking Change:
- Migrate
.useStyle
to.useTextStyle()
onNikuText
. - Migrate
.useStyle
to.useButtonStyle()
onNikuButton
. - Change
.useStyle
to.useButtonStyle()
onNikuButton
. - Migrate
.useBuilder
,useParent
touseChild
onNiku
. - Migrate from
.value
to.widget
on every Niku component. - Migrate from
style
totextStyle
on 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
flex
parameter toexpanded
onNikuCore
[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
mainAxisSize
toNikuColumn
andNikuRow
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
.scrollbar
to base. - add
.style
,.theme
to text.
[1.0.1] - 2021/4/7 #
Breaking Change:
- Remove
.text
from NikuText.
Change:
- Adding final to constructor parameter.
Bug fix:
- Fix key not setting for several widget.
- Fix
animated
andanimatedBuilder
not working.
[1.0.0] - 2021/4/7 #
Bug fix:
this.
access property.
[1.0.0-alpha.4] - 2021/4/1 #
Feature:
- Add
NikuWrap
- Add
form
toNikuBase
. - Add
focusedError
toTextField
border input.
Bug fix:
apply
using unexpected share property.apply
onNikuTextField
withoutAlignVertical
cause build to failed.
[1.0.0-alpha.3] - 2021/3/31 #
Feature:
- Add
cursor
to IconButton. - Add the following property to
IconButton
:size
,minSize
,minimumSize
maxSize
,maximumSize
minWidth
,minimumWidth
minHeight
,minimumHeight
maxWidth
,maximumWidth
maxHeight
,maximumHeight
- Boolean method on
NikuTextField
now has default value oftrue
.
Breaking Change:
- Rename
border
tob
andsetBorder
toborder
. - Change
obscureTextFormField
toobscureText
on NikuTextField. - Add
asPassword
on NikuTextField. - Remove
disabledSmartDashes
anddisabledSmartQuotes
. enableSmartQuotes
andenableSmartDashes
now accept option boolean default as true.- Change from
inputDecorationEnable
toenableInputDecoration
. - Change from
...textFormField
to...text
in 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
true
toabsortPointer
andignorePointer
[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
.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
[0.5.5] - 2021/3/15 #
Feature:
- Add
animatedBuilder
,animated
forAnimationBuilder
- Add
animatedContainer
forAnimatedContainer
- Add
semantics
forSemantics
Changed:
- Move use of
Container
toDecoratedBox
- The property which affected this changed including:
- boxDecoration
- border
- shadows
- The property which affected this changed including:
- Move use of
Container
toSizedBox
- 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
,heightPercent
andsizePercent
- Unable to use
NikuRow
without specifyingcrossAxisAlignment
- Add optional
onTap
to.inkwell
[0.5.3] - 2021/3/11 #
Bug fixes:
- Wrong size on
widthPercent
,heightPercent
andsizePercent
[0.5.2] - 2021/3/11 #
Feature:
- Add
builder
on Niku for composing custom widget. - Add
widthPercent
,heightPercent
andsizePercent
Changed:
bg
andbackgroundColor
ofNiku
are now usingColoredBox
instead ofContainer
Niku
now 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.dart
tooldButton.dart
- Move
NikuButton
tobutton.dart
- Importing
package:niku/niku.dart
won't importoldButton.dart
- Only support Flutter 2.0.0 or newer
Feature:
- Add
NikuButton
for 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
this
as parameter - Remove
overflow
from stack as it's deprecated
Documentation:
- Fix Null Coalesce
- Fix
borderColor
,borderStyle
from crashing on outlineButton
[0.3.2] - 2021/2/25 #
Documentation:
- Fix Null Coalesce
- Fix
borderColor
,borderStyle
from crashing on outlineButton
[0.3.1] - 2021/2/25 #
Documentation:
- Fix wrong spelling of
disabled
on outlineButton - Fix
setBorder
ofoutlineButton
from 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
,outlineButton
andflatButton
aspackage:niku/widget/button
Documentation:
-
Restructure documentation
-
Bug fixes:
- Wrong spelling of documentation in several place
- Prevent
toolbarOptions
from crashing if not specified all by adding default value
[0.1.2] - 2021/2/21 #
Bug fixes:
- Fix require padding for
NikuFlatButton
,NikuOutlineButton
andNikuRaisedButton
[0.1.1] - 2021/2/21 #
Bug fixes:
README.md
image 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