Skip to content

v7.6.0

Latest

Choose a tag to compare

@agordn52 agordn52 released this 15 Nov 04:55
· 1 commit to 7.x since this release

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.dart

Both 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.navigate and routeTo called before the app's first frame (from a provider's boot or a startup event, for example) wait for the navigator to mount and then navigate.
  • Pull-to-refresh: CollectionView and Pullable draw 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. modalBackgroundColor sets the content area to its own color.

Dependencies

  • nylo_framework ^7.5.0 → ^7.6.0 (nylo_support 7.37.0 → 7.38.0)
  • Adds material_ui ^1.11.0 and cupertino_ui ^1.1.6
  • app_badge_plus 1.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