Repository navigation
Nylo v7.6.0
This release moves the boilerplate to nylo_framework: ^7.6.0 (with nylo_support 7.38.0). Nylo is now built on package:material_ui and package:cupertino_ui, the standalone Material and Cupertino libraries, and the boilerplate imports them instead of package:flutter/material.dart.
material_ui and cupertino_ui
Every file in the boilerplate now imports the standalone libraries:
import 'package:material_ui/material_ui.dart'; // was package:flutter/material.dart
import 'package:cupertino_ui/cupertino_ui.dart'; // was package:flutter/cupertino.dartBoth are direct dependencies in pubspec.yaml. Metro's make:page, make:stateful_widget, make:stateless_widget, make:state_managed_widget, make:navigation_hub, make:journey_widget, make:bottom_sheet_modal, make:button and make:playbook generate files with the new import.
Upgrading an existing project: add material_ui: ^1.11.0 and cupertino_ui: ^1.1.6 to your dependencies, then replace package:flutter/material.dart with package:material_ui/material_ui.dart (and package:flutter/cupertino.dart with package:cupertino_ui/cupertino_ui.dart).
Fixes from nylo_support
- Navigating during startup:
NyRouter.navigateandrouteTocalled before the app's first frame (from a provider'sbootor a startup event, for example) wait for the navigator to mount and then navigate. - Pull-to-refresh:
CollectionViewandPullabledraw their refresh headers with the app's theme and Material localizations. - Toasts: toast content sits on a transparent
Material, so ink effects and text styles render as designed. - Modal background color:
NyBaseModal.show(backgroundColor:)colors the modal's content area as well as its frame.modalBackgroundColorsets the content area to its own color.
Dependencies
nylo_framework^7.5.0 → ^7.6.0 (nylo_support7.37.0 → 7.38.0)- Adds
material_ui^1.11.0 andcupertino_ui^1.1.6 app_badge_plus1.3.5 → 1.4.0- Android: Gradle 9.3.1 → 9.5.0, Android Gradle Plugin 9.1.0 → 9.3.1, Kotlin 2.4.0 → 2.4.20
- Requires Flutter 3.47.0 or later
Full changelogs: nylo_framework · nylo_support