Releases: nylo-core/nylo
Releases · nylo-core/nylo
v6.7.3
- Update:
session
helper to support 'items'. E.g.session('onboarding', {"first_name": "john"})
, now session will contain{"first_name": "john"}
- Update:
session
helper 'data' method to supportdata([String? key])
to get the session data. E.g.session('onboarding').data('first_name')
- Fix: Cannot add new events after calling close in NyForm 231
- Update pubspec.yaml
v6.7.2
- Small fix for
BadgeTab
- New PageTransitionTypes: scale, rotate, size, rightToLeftWithFade, leftToRightWithFade, leftToRightJoined, rightToLeftJoined, topToBottomJoined, bottomToTopJoined, leftToRightPop, rightToLeftPop, topToBottomPop, bottomToTopPop, sharedAxisHorizontal, sharedAxisVertical, sharedAxisScale
- New
TransitionType
added for route transitions. E.g.routeTo(HomePage.path, transitionType: TransitionType.fade())
- Ability to
setBadgeNumber
of app icon - Bump desugar_jdk_libs to 2.1.5
- Pubspec.yaml updates
v6.7.1
v6.7.0
- Remove
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
- Added
label
to Forms. E.g.Field.email('Email', label: 'Email Address')
- Added
Radio
to Forms. E.g.Field.radio("Favourite Color", options: ["Red", "Blue", "Green"])
- Added
Widget
to Forms. E.g.Field.widget(child: MyWidget())
- Add
submitButton
toNyFormData
Read more here - Add ny_networking.dart, ny_router.dart, ny_alerts.dart, ny_helpers.dart to make it easier to import the different parts of the library
- Update sleep method to support micro seconds. E.g.
sleep(0, 500)
will sleep for 500 microseconds - Small bug fix for
NavigationTab.alerts
- Merge PR from israelins85
- Update pubspec.yaml
v6.6.3
- Fix issue when resetting the
NyPullToRefresh
widget - Added new
stateAction()
helper to allow you to send state actions to theNyState
orNyPage
class - New
whenStateAction(Map<String, Function()> actions)
method added toNyState
andNyPage
classes to handle state actions- E.g.
whenStateAction({"showDialog": () => showDialog()})
- E.g.
- New
Map<String, Function()> get stateActions => {}
getter added toNyState
andNyPage
classes to handle state actions- E.g.
Map<String, Function()> get stateActions => {"showDialog": () => showDialog()};
- E.g.
- Update GitHub workflows
- Merge PR from rytisder to fix page_w_controller_stub.dart
- Update pubspec.yaml
v6.6.2
v6.6.1
v6.6.0
- Ability to scaffold in-app purchases via RevenueCat
- Use dart run scaffold_ui:main iap and then select RevenueCat
- Added firebase to the list of available auth scaffolds
- Forms - Ability to set fields as
readOnly
- Fix issue "stream has already been listened to" #215
- Fixes for NavigationHub
- Small refactor to
Pullable
widget - Update pubspec.yaml
v6.5.0
- Update dark_theme to include a default for
timePickerTheme
anddatePickerTheme
- Add new NavigationTab.alert widget for supporting alerts in the NavigationTab
- New extension
toBool
andtryParseBool
added to String class - dart format
- New StateActions added to
NavigationHubStateActions
alertEnableTab
- Enable the alert for a specific tabalertDisableTab
- Disable the alert for a specific tab
- Update pubspec.yaml
v6.4.10
- Added comprehensive DateTime manipulation methods:
- Year operations:
addYears()
andsubtractYears()
- Month operations:
addMonths()
andsubtractMonths()
- Day operations:
addDays()
andsubtractDays()
- Hour operations:
addHours()
andsubtractHours()
- Minute operations:
addMinutes()
andsubtractMinutes()
- Second operations:
addSeconds()
andsubtractSeconds()
- Year operations:
- Update NavigationHub to support the following:
- Set a default current tab index: Override
currentIndex
in yourNavigationHub
class - New
bottomNavBuilder
method to build the bottom navigation bar
- Set a default current tab index: Override
- DateTime extension:
- Allow
toDateString
to accept aString
format - Add
toDateStringUK
to format the date in UK format - Add
toDateStringUS
to format the date in US format
- Allow
- New
localAsset
method added toAssetImage
- Update pubspec.yaml