Skip to content

Commit

Permalink
v5.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
agordn52 committed Jan 15, 2024
1 parent d33951f commit d77e8c0
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 12 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [5.19.0] - 2024-01-15

* Update page and controller stub to use `view` instead of `build`
* Update the page and controller stub to include controller getter
* Update pubspec.yaml

## [5.18.9] - 2024-01-13

* Update pubspec.yaml
Expand Down
14 changes: 11 additions & 3 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -251,15 +251,15 @@ packages:
path: ".."
relative: true
source: path
version: "5.18.9"
version: "5.19.0"
nylo_support:
dependency: transitive
description:
name: nylo_support
sha256: "07c9e15d74f6d301ec175f16863a3b8b08facf32c5cce5a5594a657d4fdd032b"
sha256: "1599c99829be2dca30420a5b9d2f1c7b389fda7c484ccdf9a2a46af0be3274bb"
url: "https://pub.dev"
source: hosted
version: "5.30.1"
version: "5.31.0"
page_transition:
dependency: transitive
description:
Expand Down Expand Up @@ -428,6 +428,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.3.0"
skeletonizer:
dependency: transitive
description:
name: skeletonizer
sha256: "86f373126d9a887a2d63f2463a9913a973ce7f282efa7f0d9d06a17e3f19838c"
url: "https://pub.dev"
source: hosted
version: "1.0.1"
sky_engine:
dependency: transitive
description: flutter
Expand Down
9 changes: 7 additions & 2 deletions lib/metro/stubs/page_stub.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,17 @@ class _${className.pascalCase}PageState extends NyState<${className.pascalCase}P
@override
init() async {
super.init();
}
/// Use boot if you need to load data before the view is rendered.
// @override
// boot() async {
//
// }
@override
Widget build(BuildContext context) {
Widget view(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("${className.titleCase}")
Expand Down
12 changes: 10 additions & 2 deletions lib/metro/stubs/page_w_controller_stub.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,22 @@ class ${className.pascalCase}Page extends NyStatefulWidget<${className.pascalCas
class _${className.pascalCase}PageState extends NyState<${className.pascalCase}Page> {
/// [${className.pascalCase}Controller] controller
${className.pascalCase}Controller get controller => widget.controller;
@override
init() async {
super.init();
}
/// Use boot if you need to load data before the view is rendered.
// @override
// boot() async {
//
// }
@override
Widget build(BuildContext context) {
Widget view(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("${className.titleCase}")
Expand Down
2 changes: 1 addition & 1 deletion lib/nylo_framework.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ export 'package:nylo_support/networking/ny_base_api_service.dart';
export 'package:dio/dio.dart';

/// Nylo version
const String nyloVersion = 'v5.18.9';
const String nyloVersion = 'v5.19.0';
12 changes: 10 additions & 2 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,10 @@ packages:
dependency: "direct main"
description:
name: nylo_support
sha256: "07c9e15d74f6d301ec175f16863a3b8b08facf32c5cce5a5594a657d4fdd032b"
sha256: "1599c99829be2dca30420a5b9d2f1c7b389fda7c484ccdf9a2a46af0be3274bb"
url: "https://pub.dev"
source: hosted
version: "5.30.1"
version: "5.31.0"
page_transition:
dependency: "direct main"
description:
Expand Down Expand Up @@ -421,6 +421,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.3.0"
skeletonizer:
dependency: transitive
description:
name: skeletonizer
sha256: "86f373126d9a887a2d63f2463a9913a973ce7f282efa7f0d9d06a17e3f19838c"
url: "https://pub.dev"
source: hosted
version: "1.0.1"
sky_engine:
dependency: transitive
description: flutter
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: nylo_framework
description: Micro-framework for Flutter that's built to simplify app development for Flutter projects.
version: 5.18.9
version: 5.19.0
homepage: https://nylo.dev
repository: https://github.com/nylo-core/framework/tree/5.x
issue_tracker: https://github.com/nylo-core/framework/issues
Expand All @@ -16,7 +16,7 @@ environment:

dependencies:
flutter_dotenv: ^5.1.0
nylo_support: ^5.30.1
nylo_support: ^5.31.0
theme_provider: ^0.6.0
page_transition: ^2.1.0
cli_dialog: ^0.5.0
Expand Down

0 comments on commit d77e8c0

Please sign in to comment.