Releases: nylo-core/nylo
Releases · nylo-core/nylo
v6.10.0
- Added
appLifecycle
toNylo.init
. This will allow you to globally handle your app's lifecycle. - Added
excludeKeys
toNyStorage.deleteAll
. This will allow you to exclude certain keys from being deleted when calling deleteAll. - Added
hasExecutedTaskOnce
inNyScheduler
. This will allow you to check if a task has been executed. - Add missing annotations
- pubspec.yaml updates
v6.9.3
- Added
set
to NySession class. This will allow you to set a value in the session. - Added
onFailure
parameter to isSuccessful method inNyValidator
. - Fix
getInitialRouteName
to return the correct initial route name when,when
is used. - Added PullableConfig to pullable widget.
- Added new
visibleWhen
extension toWidget
class. This will allow you to show or hide a widget based on a condition. - Added
onPop
to thepushTo
method. This will allow you to receive a callback when the page is popped. - Added
removeFromIndex
to NyPullToRefresh. This will allow you to remove an item from the list at a specific index. - Bug fix for
NyTextField
onChanged method. - Fix analysis_options.yaml
v6.9.2
v6.9.1
v6.9.0
- Added:
nylo.broadcastEvents()
to broadcast events to all listeners. - Added:
listenOn
to listen to events in your app. E.g.listenOn<MyEvent>((event) { });
- Added:
listen
helper in NyPage and NyState to listen to events in your app. E.g.listen<MyEvent>((event) { });
- Updated:
event
helper to support newbroadcast
parameter. E.g.event<MyEvent>(data: {...}, broadcast: true);
v6.8.9
- Small breaking change to
stateActions
:- Was:
Map<String, Function()> get stateActions
- Now:
Map<String, Function> get stateActions
- Was:
- Added:
JourneyProgressStyle? progressStyle;
to journey widget - Added:
JourneyButtonStyle? buttonStyle;
to journey widget - Added:
backgroundGradient
to bottomNav, topNav and journey widget - Updated:
stateAction
to support newdata
parameter - New progress styles added to
JourneyProgressStyle
-linear
,dots
,numbered
,segments
,circular
,timeline
,custom
- New
JourneyButtonStyle
added toJourneyState
-standard
,minimal
,outlined
,contained
,custom
v6.8.8
v6.8.7
- Added:
JourneyState
class to help manageNavigationHubLayout.journey
- Added:
JourneyHelper
class to help manage JourneyState's - Added:
makeJourneyWidget
method toMetroService
class - Added:
parentOption
to constants - Added:
syncToStorage
method to NySession class. This will sync the session data to storage - Added:
syncFromStorage
method to NySession class. This will sync the session data from storage - Update
navigation_hub
stub - Ability to create multiple
stateful_widget
s at once using Metro. E.g.metro make:stateful_widget home,settings
- Ability to create multiple
stateless_widget
s at once using Metro. E.g.metro make:stateless_widget home,settings
- pubspec.yaml updates