Skip to content

Commit b116b58

Browse files
committed
5.15.0+1
1 parent ba69f26 commit b116b58

19 files changed

Lines changed: 123 additions & 334 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11

2-
## 5.15.0
2+
## 5.15.0+1
33
February 13, 2025
44
- final Widget? Function()? inHome; Allow for null Widget in app_statex.dart
55
- Revamped the example app
6+
- Upgraded to Dart 2.9.0 since toARGB32() now available in class Color
67

78
## 5.14.0+2
89
February 04, 2025

analysis_options.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ linter:
100100
- one_member_abstracts
101101
- only_throw_errors
102102
- overridden_fields
103-
- package_api_docs
103+
# - package_api_docs # was removed in Dart '3.7.0'
104104
- package_names
105105
- package_prefixed_library_names
106106
# - parameter_assignments # we do this commonly
@@ -172,7 +172,7 @@ linter:
172172
- unnecessary_string_interpolations
173173
- unnecessary_this
174174
- unrelated_type_equality_checks
175-
- unsafe_html
175+
# - unsafe_html # was removed in Dart '3.7.0'
176176
- use_full_hex_values_for_flutter_colors
177177
- use_function_type_syntax_for_parameters
178178
- use_key_in_widget_constructors

example/integration_test/src/animals_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import '../_test_imports.dart';
66

7-
const _location = '========================== animals_test.dart';
7+
// const _location = '========================== animals_test.dart';
88

99
Future<void> animalsTest(WidgetTester tester) async {
1010
/// New Dogs

example/lib/src/app/controller/app_controller.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class AppController extends AppStateXController with AppOptionSettings {
148148
/// Change the app's colour theme
149149
Future<void> changeColor() async {
150150
// Get the current colour.
151-
ColorPicker.color = Color(App.themeData!.primaryColor.toARGB32);
151+
ColorPicker.color = Color(App.themeData!.primaryColor.toARGB32());
152152

153153
await ColorPicker.showColorPicker(
154154
context: App.context!,

example/lib/src/app/view/app_navigator.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ class AppRouterDelegate extends RouterDelegate<AppRoutePath>
262262
}
263263

264264
/// Parser inspired by https://github.com/acoutts/flutter_nav_2.0_mobx/blob/master/lib/main.dart
265-
/// Converts a route into the user class type, <T>
265+
/// Converts a route into the user class type, [<T>]
266266
/// Using typed information instead of string allows for greater flexibility
267267
class AppRouteInformationParser extends RouteInformationParser<AppRoutePath> {
268268
/// Instantiate only one instance of the Parser.

example/lib/src/app/view/menu/radio_material.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
//
33
import 'package:fluttery_framework/view/utils/radiobutton_widget.dart';
44

5-
import '/src/controller.dart';
6-
75
import '/src/view.dart';
86

97
///

example/lib/src/app/view/settings/view/settings_screen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class SettingsScreen extends StatelessWidget {
4444
@override
4545
Widget build(BuildContext context) {
4646
//
47-
final isPortrait = context.isPortrait;
47+
// final isPortrait = context.isPortrait;
4848

4949
Widget widget = child ??
5050
CupertinoButton(

example/lib/src/app/view/settings/view/settings_screenOLD.dart

Lines changed: 0 additions & 215 deletions
This file was deleted.

example/lib/src/main/grid_app_example/inherited/controller/inherit_controller.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class InheritController extends StateXController {
5252

5353
/// Place breakpoints and step through the functions below to see how this all works.
5454
55-
/// The framework calls this method whenever it removes this [StateX] object
55+
/// The framework calls this method whenever it removes this 'StateX' object
5656
/// from the tree.
5757
@override
5858
// ignore: unnecessary_overrides
@@ -68,7 +68,7 @@ class InheritController extends StateXController {
6868
super.activate();
6969
}
7070

71-
/// The framework calls this method when this [StateX] object will never
71+
/// The framework calls this method when this 'StateX' object will never
7272
/// build again.
7373
/// Note: YOU WILL HAVE NO IDEA WHEN THIS WILL RUN in the Framework.
7474
@override

example/lib/src/main/grid_app_example/view/grid_home_page.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ class _GridPageState extends StateX<GridPage> {
116116
);
117117
}
118118

119-
Widget? _gridAnimals;
120-
121119
///
122120
Widget get gridAnimals {
123121
//
@@ -139,7 +137,7 @@ class _GridPageState extends StateX<GridPage> {
139137
);
140138
}
141139

142-
return _gridAnimals = InheritBird(
140+
return InheritBird(
143141
child: InheritCat(
144142
child: InheritDog(
145143
child: InheritFox(

0 commit comments

Comments
 (0)