diff --git a/CHANGELOG.md b/CHANGELOG.md index c0ea27c..9a7e413 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [5.23.0] - 2024-03-21 + +* Update stubs +* Update pubspec.yaml + ## [5.22.2] - 2024-03-18 * Update pubspec.yaml diff --git a/example/pubspec.lock b/example/pubspec.lock index d8ab948..da9302b 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -291,15 +291,15 @@ packages: path: ".." relative: true source: path - version: "5.22.2" + version: "5.23.0" nylo_support: dependency: transitive description: name: nylo_support - sha256: "2927b62a1dfbed8e85847e9460d0b8bcca3ec61b4d72318f3835dbbad6980fb0" + sha256: "0b933c275855582f4dcd36a87a3a2b7084a261104d3bb3035e787ed6e945ec77" url: "https://pub.dev" source: hosted - version: "5.56.1" + version: "5.57.0" page_transition: dependency: transitive description: @@ -472,10 +472,10 @@ packages: dependency: transitive description: name: skeletonizer - sha256: "2eb80153c80507359ff05f6a18ed50ae0bafa1b999aa867a8cef0a53387b5650" + sha256: "9a3ae2f4ee4349bdbed3292d04586a1315a44745d2c454684f82f0c46dbeabf9" url: "https://pub.dev" source: hosted - version: "1.1.0" + version: "1.1.1" sky_engine: dependency: transitive description: flutter diff --git a/lib/metro/stubs/interceptor_stub.dart b/lib/metro/stubs/interceptor_stub.dart index fba56d3..76b7c0b 100644 --- a/lib/metro/stubs/interceptor_stub.dart +++ b/lib/metro/stubs/interceptor_stub.dart @@ -16,7 +16,7 @@ class ${interceptorName.pascalCase}Interceptor extends Interceptor { } @override - void onError(DioException dioException, ErrorInterceptorHandler handler) { + void onError(DioException err, ErrorInterceptorHandler handler) { handler.next(dioException); } } diff --git a/lib/metro/stubs/theme_colors_stub.dart b/lib/metro/stubs/theme_colors_stub.dart index 5eca37a..26d57fd 100644 --- a/lib/metro/stubs/theme_colors_stub.dart +++ b/lib/metro/stubs/theme_colors_stub.dart @@ -10,31 +10,45 @@ import '/resources/themes/styles/color_styles.dart'; class ${rc.pascalCase}ThemeColors implements ColorStyles { // general + @override Color get background => const Color(0xFFFFFFFF); + @override Color get primaryContent => const Color(0xFF000000); + @override Color get primaryAccent => const Color(0xFF87c694); + @override Color get surfaceBackground => Colors.white; + @override Color get surfaceContent => Colors.black; // app bar + @override Color get appBarBackground => Colors.blue; + @override Color get appBarPrimaryContent => Colors.white; // buttons + @override Color get buttonBackground => Colors.blueAccent; + @override Color get buttonPrimaryContent => Colors.white; // bottom tab bar + @override Color get bottomTabBarBackground => Colors.white; // bottom tab bar - icons + @override Color get bottomTabBarIconSelected => Colors.blue; + @override Color get bottomTabBarIconUnselected => Colors.black54; // bottom tab bar - label + @override Color get bottomTabBarLabelUnselected => Colors.black45; + @override Color get bottomTabBarLabelSelected => Colors.black; } '''; diff --git a/lib/nylo_framework.dart b/lib/nylo_framework.dart index ba487a3..cfdbbe4 100644 --- a/lib/nylo_framework.dart +++ b/lib/nylo_framework.dart @@ -45,4 +45,4 @@ export 'package:skeletonizer/skeletonizer.dart'; export 'package:dio/dio.dart'; /// Nylo version -const String nyloVersion = 'v5.22.2'; +const String nyloVersion = 'v5.23.0'; diff --git a/pubspec.lock b/pubspec.lock index 16605db..fbc95d5 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -289,10 +289,10 @@ packages: dependency: "direct main" description: name: nylo_support - sha256: "2927b62a1dfbed8e85847e9460d0b8bcca3ec61b4d72318f3835dbbad6980fb0" + sha256: "0b933c275855582f4dcd36a87a3a2b7084a261104d3bb3035e787ed6e945ec77" url: "https://pub.dev" source: hosted - version: "5.56.1" + version: "5.57.0" page_transition: dependency: "direct main" description: @@ -465,10 +465,10 @@ packages: dependency: "direct main" description: name: skeletonizer - sha256: "2eb80153c80507359ff05f6a18ed50ae0bafa1b999aa867a8cef0a53387b5650" + sha256: "9a3ae2f4ee4349bdbed3292d04586a1315a44745d2c454684f82f0c46dbeabf9" url: "https://pub.dev" source: hosted - version: "1.1.0" + version: "1.1.1" sky_engine: dependency: transitive description: flutter diff --git a/pubspec.yaml b/pubspec.yaml index c7dff4e..8a7e98b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: nylo_framework description: Micro-framework for Flutter that's built to simplify app development for Flutter projects. -version: 5.22.2 +version: 5.23.0 homepage: https://nylo.dev repository: https://github.com/nylo-core/framework/tree/5.x issue_tracker: https://github.com/nylo-core/framework/issues @@ -12,12 +12,12 @@ topics: - framework environment: - sdk: '>=2.15.0 <4.0.0' + sdk: '>=3.0.0 <4.0.0' flutter: ">=1.17.0" dependencies: flutter_dotenv: ^5.1.0 - nylo_support: ^5.56.1 + nylo_support: ^5.57.0 theme_provider: ^0.6.0 page_transition: ^2.1.0 cli_dialog: ^0.5.0