NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #4958 most downloaded on pub.dev
Support library for the Nylo framework. This library supports routing, widgets, localization, cli, storage and more.
Last release 7 days ago
30 Sep 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 55 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
276 releases · first in 2021
One column per quarter.
Nothing published for this version
Fix stateData in NyState to return the correct data type
NyState to return the correct data typeAdded lifecycleActions to Nylo.init. This will allow you to global handle your app's lifecycle.
lifecycleActions to Nylo.init. This will allow you to global handle your app's lifecycle.Added lifecycleActions to NyPage. This will allow you to handle lifecycle events in your pages.
lifecycleActions to NyPage. This will allow you to handle lifecycle events in your pages.Added excludeKeys to NyStorage.deleteAll. This will allow you to exclude certain keys from being deleted when calling deleteAll.
excludeKeys to NyStorage.deleteAll. This will allow you to exclude certain keys from being deleted when calling deleteAll.hasExecutedTaskOnce in NyScheduler. This will allow you to check if a task has been executed.Added set to NySession class. This will allow you to set a value in the session.
set to NySession class. This will allow you to set a value in the session.onFailure parameter to isSuccessful method in NyValidator.getInitialRouteName to return the correct initial route name when, when is used.Added PullableConfig to pullable widget.
PullableConfig to pullable widget.Added new visibleWhen extension to Widget class. This will allow you to show or hide a widget based on a condition.
visibleWhen extension to Widget class. This will allow you to show or hide a widget based on a condition.onPop to the pushTo method. This will allow you to receive a callback when the page is popped.removeFromIndex to NyPullToRefresh. This will allow you to remove an item from the list at a specific index.NyTextField onChanged method.Fix: getEnv helper to return an empty string if a variable is set like this APP_WEBSITE=""
getEnv helper to return an empty string if a variable is set like this APP_WEBSITE=""* Update pubspec.yaml
Fix: Field.date not using the correct display format
Field.date not using the correct display formatAdd: export 'form_chips and form_radio' to ny_widgets.dart
prefixIcon to Field.passwordFix: _whenStateAction method in NyState
_whenStateAction method in NyStateAdded: nylo.broadcastEvents()to broadcast events to all listeners.
nylo.broadcastEvents()to broadcast events to all listeners.listenOn to listen to events in your app. E.g. listenOn<MyEvent>((event) { });listen helper in NyPage and NyState to listen to events in your app. E.g. listen<MyEvent>((event) { });event helper to support new broadcast parameter. E.g. event<MyEvent>(data: {...}, broadcast: true);Small breaking change to stateActions:
stateActions:
Map<String, Function()> get stateActionsMap<String, Function> get stateActionsJourneyProgressStyle? progressStyle; to journey widgetJourneyButtonStyle? buttonStyle; to journey widgetbackgroundGradient to bottomNav, topNav and journey widgetstateAction to support new data parameterJourneyProgressStyle - linear, dots, numbered, segments, circular, timeline, customJourneyButtonStyle added to JourneyState - default, primary, secondary, tertiaryJourneyButtonStyle added to JourneyState - standard, minimal, outlined, contained, customAdded: JourneyState class to help manage NavigationHubLayout.journey
JourneyState class to help manage NavigationHubLayout.journeyJourneyHelper class to help manage JourneyState'smakeJourneyWidget method to MetroService classparentOption to constantssyncToStorage method to NySession class. This will sync the session data to storagesyncFromStorage method to NySession class. This will sync the session data from storage* Fix NyStorage.read method
NyStorage.read methodAdded: makeCommand to MetroService class. This will allow you to create a custom command in your project.
makeCommand to MetroService class. This will allow you to create a custom command in your project.addPackages method to MetroServicedev parameter to addPackages and addPackage methodswithQueryParams to RouteView classhasQueryParameter(String key) to NyState class. This will allow you to check if a query parameter exists in the current route.runProcess to connect all streams to the processMerge PR contribution from voytech-net #37
Added: toTimestamp() helper for DateTime to convert to a timestamp
toTimestamp() helper for DateTime to convert to a timestampNyTextField classNyPage stateName if not given correct closure nameFix: Auth.authenticate method not setting the correct object data for the Backpack class
Auth.authenticate method not setting the correct object data for the Backpack classUpdate: session helper to support 'items'. E.g. session('onboarding', {"first_name": "john"}), now session will contain {"first_name": "john"}
session helper to support 'items'. E.g. session('onboarding', {"first_name": "john"}), now session will contain {"first_name": "john"}session helper 'data' method to support data([String? key]) to get the session data. E.g. session('onboarding').data('first_name')Refactor imports to not include package:nylo_support
BadgeTabpackage:nylo_supportTransitionType added for route transitions. E.g. routeTo(HomePage.path, transitionType: TransitionType.fade())setBadgeNumber of app iconAdd ny_future_builder.dart to ny_widgets library
ny_future_builder.dart to ny_widgets libraryAdded label to Forms. E.g. Field.email('Email', label: 'Email Address')
label to Forms. E.g. Field.email('Email', label: 'Email Address')Radio to Forms. E.g. Field.radio("Favourite Color", options: ["Red", "Blue", "Green"])Widget to Forms. E.g. Field.widget(child: MyWidget())submitButton to NyFormData Read more heresleep(0, 500) will sleep for 500 microsecondsNavigationTab.alerts* Update pubspec.yaml
Fix issue when resetting the NyPullToRefresh widget
NyPullToRefresh widgetstateAction() helper to allow you to send state actions to the NyState or NyPage classwhenStateAction(Map<String, Function()> actions) method added to NyState and NyPage classes to handle state actions
whenStateAction({"showDialog": () => showDialog()})Map<String, Function()> get stateActions => {} getter added to NyState and NyPage classes to handle state actions
Map<String, Function()> get stateActions => {"showDialog": () => showDialog()};Fix issue with Forms setting dummyData even if app env is not dev
* Update pubspec.yaml
Forms - Ability to set fields as readOnly
readOnly
Pullable widgetAdd new NavigationTab.alert widget for supporting alerts in the NavigationTab
NavigationTab.alert widget for supporting alerts in the NavigationTabtoBool and tryParseBool added to String classNavigationHubStateActions
alertEnableTab - Enable the alert for a specific tabalertDisableTab - Disable the alert for a specific tabFix small issue with NavigationHub not using the correct icon when active
NavigationHub not using the correct icon when activeAdded comprehensive DateTime manipulation methods:
addYears() and subtractYears()addMonths() and subtractMonths()addDays() and subtractDays()addHours() and subtractHours()addMinutes() and subtractMinutes()addSeconds() and subtractSeconds()currentIndex in your NavigationHub classbottomNavBuilder method to build the bottom navigation bartoDateString to accept a String formattoDateStringUK to format the date in UK formattoDateStringUS to format the date in US formatlocalAsset method added to AssetImageSmall change to getPublicAsset to remove first slash if it exists
getPublicAsset to remove first slash if it existsAdd Field.capitalizeSentences and Field.capitalizeWords
Field.capitalizeSentences and Field.capitalizeWordsEnsure handleSuccess handles responses within the correct status code range. Fixes 207
updatePageState publichandleSuccess handles responses within the correct status code range. Fixes 207header parameter in NyPullToRefresh and NyListViewNavigationTab to support updating the Page, Title, Icon, Background Color and Tooltip* Fix issue with NyState
NyState* Update pubspec.yaml
Fix updateState method when using NyPage.path
updatePageState privateSmall fix for NyLanguageSwitcher to support dark mode
NyLanguageSwitcher to support dark modeNew currentTabIndex method added to NavigationHubStateActions to set the current tab index
currentTabIndex method added to NavigationHubStateActions to set the current tab index* Fix form.dart
Fix validation max and min rules
init method added to FormsNyForm classrender method* Fix stateName in NyState * Slight refactor to NyBaseState
NyBaseStateFix useLocalNotifications in Nylo class
useLocalNotifications in Nylo classkIsWeb check to clearBadgeNumberdate_field to ^6.0.0Add headerSpacing and footerSpacing to NyForm
headerSpacing and footerSpacing to NyForm* Fix stops in NyFader * Merge PR from ruwiss
NyFaderUpdate form picker, form chips and checkbox to support light and dark colors better
NyTextStyle classNyColor classNyColor.resolveColor methodNylo.package methodgetAuthKey() methodUpdate delete request to support optional parameters
delete request to support optional parametersAdd LoadingStyle to helpers/loading_style.dart
LoadingStyle to helpers/loading_style.dartloadingStyle: loadingStyle parameter added to ButtonState classFix saveRemember and saveForever in NyCache
saveRemember and saveForever in NyCacheNew Field.switchBox added to NyForm to create a switch box field
Field.switchBox added to NyForm to create a switch box fieldcurrency.toLowerCase() in Field.currency()* Fix BadgeTab
New Nylo.package helper for initializing packages
NyLocaleHelperNylo.package helper for initializing packagesNyStoreage.read helperNew nyPageName extension helper added to RouteView
nyPageName extension helper added to RouteViewStateAction to support RouteView pathsDark mode support for Form fields: picker, date picker, checkbox and chips
color({light, dark}) to get the color based on the themewhenTheme({light, dark}) to handle widgets based on the themeNyThemeType to BaseThemeConfig. This will allow you to set if a theme is light or dark* Update pubspec.yaml
New initDio(Dio dio) method added to DioApiService
initDio(Dio dio) method added to DioApiServiceUpdate updateState to support RouteView paths
updateState to support RouteView pathsNyPage to support stateManaged methods using bool get stateManaged => true;Override build in NyPage to support loading using a Scaffold
build in NyPage to support loading using a ScaffoldSession to NySessionYour coding agent can read these notes before it upgrades. Set up the MCP server →