Skip to content

Commit 09a7393

Browse files
committed
v6.8.15
1 parent 74a4eae commit 09a7393

File tree

6 files changed

+12
-11
lines changed

6 files changed

+12
-11
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [6.8.15] - 2025-08-04
2+
3+
* Fix controller stub
4+
* Update state managed stub
5+
* pubspec.yaml updates
6+
17
## [6.8.14] - 2025-07-18
28

39
* pubspec.yaml updates

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ packages:
419419
path: ".."
420420
relative: true
421421
source: path
422-
version: "6.8.14"
422+
version: "6.8.15"
423423
nylo_support:
424424
dependency: transitive
425425
description:

lib/metro/stubs/controller_stub.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import 'package:flutter/widgets.dart';
88
class ${controllerName.pascalCase}Controller extends Controller {
99
1010
@override
11-
construct(BuildContext context) {
11+
construct(BuildContext context) async {
1212
super.construct(context);
1313
1414
}

lib/metro/stubs/widget_state_managed_stub.dart

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,9 @@ class _${rc.pascalCase}State extends NyState<${rc.pascalCase}> {
2626
// 'stateData' will contain the current state data
2727
};
2828
29-
@override
30-
stateUpdated(dynamic data) async {
31-
// e.g. to update this state from another class
32-
// updateState(${rc.pascalCase}.state, data: "example payload");
33-
}
34-
3529
// @override
36-
// Map<String, Function()> get stateActions => {
30+
// Map<String, Function> get stateActions => {
31+
// "add_data": (myData) {},
3732
// "clear_data": () {
3833
// ...
3934
//

lib/nylo_framework.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ export 'package:date_field/date_field.dart';
2929
export 'package:dio/dio.dart';
3030

3131
/// Nylo version
32-
const String nyloVersion = 'v6.8.14';
32+
const String nyloVersion = 'v6.8.15';

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: nylo_framework
22
description: Micro-framework for Flutter that's built to simplify app development for Flutter projects.
3-
version: 6.8.14
3+
version: 6.8.15
44
homepage: https://nylo.dev
55
repository: https://github.com/nylo-core/framework/tree/6.x
66
issue_tracker: https://github.com/nylo-core/framework/issues

0 commit comments

Comments
 (0)