release/1.6.2+20 #76

Merged
Varakh merged 123 commits from release/1.6.2+20 into master 2023-12-01 18:15:52 +00:00
4 changed files with 5 additions and 6 deletions
Showing only changes of commit 7e871bb4b1 - Show all commits

View file

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

View file

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

View file

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

View file

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