Compare commits

..

No commits in common. "b51131de8f4a1e3bac817a0f7fd35882a8a34989" and "7c7befe07188e314cb387dcbc3786065deccd208" have entirely different histories.

6 changed files with 11 additions and 10 deletions

View file

@ -5,8 +5,8 @@ class RestServiceException extends ServiceException {
final int statusCode;
final dynamic responseBody;
RestServiceException(this.statusCode, {this.responseBody, super.message = null})
: super(code: ErrorCode.restError);
RestServiceException(this.statusCode, {this.responseBody, String? message})
: super(code: ErrorCode.restError, message: message);
@override
String toString() {

View file

@ -8,7 +8,7 @@ import '../services/dialog_service.dart';
class DialogManager extends StatefulWidget {
final Widget? child;
const DialogManager({super.key, this.child});
const DialogManager({Key? key, this.child}) : super(key: key);
@override
_DialogManagerState createState() => _DialogManagerState();

View file

@ -11,7 +11,7 @@ import '../util/logger.dart';
class LifeCycleManager extends StatefulWidget {
final Widget? child;
const LifeCycleManager({super.key, this.child});
const LifeCycleManager({Key? key, this.child}) : super(key: key);
@override
_LifeCycleManagerState createState() => _LifeCycleManagerState();

View file

@ -7,11 +7,12 @@ class MyAppBar extends AppBar {
static final List<Widget> aboutDisabledWidgets = [];
MyAppBar(
{super.key,
{Key? key,
required Widget title,
List<Widget>? actionWidgets,
bool enableAbout = true})
: super(
key: key,
title: Row(children: <Widget>[title]),
actions: _renderIconButtons(actionWidgets, enableAbout));

View file

@ -274,10 +274,10 @@ packages:
dependency: "direct dev"
description:
name: flutter_lints
sha256: e2a421b7e59244faef694ba7b30562e489c2b489866e505074eb005cd7060db7
sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04
url: "https://pub.dev"
source: hosted
version: "3.0.1"
version: "2.0.3"
flutter_localizations:
dependency: "direct main"
description: flutter
@ -425,10 +425,10 @@ packages:
dependency: transitive
description:
name: lints
sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452"
url: "https://pub.dev"
source: hosted
version: "3.0.0"
version: "2.1.1"
logger:
dependency: "direct main"
description:

View file

@ -50,7 +50,7 @@ dev_dependencies:
build_runner: 2.4.6
built_value_generator: 8.7.0
json_serializable: 6.7.1
flutter_lints: 3.0.1
flutter_lints: 2.0.3
# For information on the generic Dart part of this file, see the
# following page: https://www.dartlang.org/tools/pub/pubspec