Cleanup
This commit is contained in:
1 parent
8e5462bc91
commit
e7409ac26b
13 files changed
+467
-88
No files matched your search
@@ -1,4 +1,3 @@
|
||||
import 'dart:convert';
|
||||
|
||||
import 'package:expandable/expandable.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -135,7 +134,7 @@ class _AssignedJobsPageState extends State<AssignedJobsPage> {
|
||||
"Weitere Infos....",
|
||||
style: TextStyle(fontSize: 15, color: Colors.black, fontWeight: FontWeight.bold),
|
||||
)),
|
||||
collapsed: SizedBox(),
|
||||
collapsed: const SizedBox(),
|
||||
expanded: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: <Widget>[
|
||||
@@ -149,7 +148,7 @@ class _AssignedJobsPageState extends State<AssignedJobsPage> {
|
||||
width: 0.5,
|
||||
),
|
||||
),
|
||||
child: Text('asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd '),
|
||||
child: const Text('asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd '),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -72,7 +72,7 @@ class MainPage extends ContentViewWidget {
|
||||
rightButtonVisible: true,
|
||||
rightButtonImage: Util.fetchFutureIcon(const Icon(Icons.info_outline, size: 20.0, color: Colors.white)),
|
||||
rightButtonOnPressed: () async {
|
||||
showInfosPopup(context);
|
||||
showInfosPopup(context, await MyApp.isarInstance.status.where().findFirst());
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ class MessagesPage extends ContentViewWidget {
|
||||
rightButtonVisible: true,
|
||||
rightButtonImage: Util.fetchFutureIcon(const Icon(Icons.info_outline, size: 20.0, color: Colors.white)),
|
||||
rightButtonOnPressed: () async {
|
||||
showInfosPopup(context);
|
||||
showInfosPopup(context, await MyApp.isarInstance.status.where().findFirst());
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -123,7 +123,7 @@ class _MessagesPageState extends State<MessagesPage> {
|
||||
_messages.add(types.TextMessage(
|
||||
author: message.from == _sid ? _user : _central,
|
||||
createdAt: DateTime.now().millisecondsSinceEpoch,
|
||||
id: Uuid().v4().toString(),
|
||||
id: const Uuid().v4().toString(),
|
||||
text: text,
|
||||
));
|
||||
|
||||
|
||||
Reference in new issue
Block a user