Skip to content

Commit

Permalink
Merge pull request #21 from nylo-core/master
Browse files Browse the repository at this point in the history
Null safety stubs
  • Loading branch information
agordn52 committed Jul 13, 2021
2 parents f5b75d6 + e773b36 commit 5c746ac
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
## [1.1.0] - 2021-07-13

* Null safety stubs

## [1.0.1] - 2021-07-07

* README changes
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -6,7 +6,7 @@
<a href="https://github.com/nylo-core/framework"><img alt="GitHub stars" src="https://img.shields.io/github/stars/nylo-core/framework?style=plastic"></a>
</p>

## Nylo Framework (v1.0.1)
## Nylo Framework (v1.1.0)

Nylo is a micro-framework for Flutter which is designed to help simplify app development. Every project provides a simple boilerplate and MVC pattern to help you build apps easier.

Expand Down
2 changes: 1 addition & 1 deletion lib/helpers/helper.dart
@@ -1,2 +1,2 @@
/// Nylo version
const String nyloVersion = 'v1.0.1';
const String nyloVersion = 'v1.1.0';
2 changes: 1 addition & 1 deletion lib/metro/stubs/model_stub.dart
Expand Up @@ -5,7 +5,7 @@ ${isStorable == true ? "import 'package:nylo_support/helpers/helper.dart';\n\n"
${isStorable == true ? '''
/// Example [foo] below.
/// New to Storable? Learn more https://nylo.dev/docs/1.x/storage#introduction-to-storable-models
String foo;
late String foo;
@override
toStorage() => {
Expand Down
2 changes: 1 addition & 1 deletion lib/metro/stubs/page_stub.dart
Expand Up @@ -4,7 +4,7 @@ import 'package:nylo_support/widgets/ny_state.dart';
class ${pageName}Page extends StatefulWidget {
${pageName}Page({Key key}) : super(key: key);
${pageName}Page({Key? key}) : super(key: key);
@override
_${pageName}PageState createState() => _${pageName}PageState();
Expand Down
2 changes: 1 addition & 1 deletion lib/metro/stubs/page_w_controller_stub.dart
Expand Up @@ -11,7 +11,7 @@ import 'package:nylo_support/widgets/ny_state.dart';
class ${capitalize(className)}Page extends NyStatefulWidget {
final ${capitalize(className)}Controller controller = ${capitalize(className)}Controller();
${capitalize(className)}Page({Key key}) : super(key: key);
${capitalize(className)}Page({Key? key}) : super(key: key);
@override
_${capitalize(className)}PageState createState() => _${capitalize(className)}PageState();
Expand Down
2 changes: 1 addition & 1 deletion lib/metro/stubs/widget_stateless_stub.dart
Expand Up @@ -2,7 +2,7 @@ String widgetStatelessStub(String widgetName) => '''
import 'package:flutter/material.dart';
class ${widgetName}Widget extends StatelessWidget {
const ${widgetName}Widget({ Key key }) : super(key: key);
const ${widgetName}Widget({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
Expand Down
2 changes: 1 addition & 1 deletion 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: 1.0.1
version: 1.1.0
homepage: https://nylo.dev
repository: https://github.com/nylo-core/framework
issue_tracker: https://github.com/nylo-core/framework/issues
Expand Down

0 comments on commit 5c746ac

Please sign in to comment.