mirror of
https://github.com/DefinedNet/mobile_nebula.git
synced 2025-02-22 19:15:27 +00:00
dart fix --apply --code=prefer_final_fields
This commit is contained in:
parent
0a4854ccd6
commit
4359b4783c
3 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ class Site {
|
|||
late EventChannel _updates;
|
||||
|
||||
/// Signals that something about this site has changed. onError is called with an error string if there was an error
|
||||
StreamController _change = StreamController.broadcast();
|
||||
final StreamController _change = StreamController.broadcast();
|
||||
|
||||
// Identifiers
|
||||
late String name;
|
||||
|
|
|
@ -32,7 +32,7 @@ class StaticHostsScreen extends StatefulWidget {
|
|||
}
|
||||
|
||||
class _StaticHostsScreenState extends State<StaticHostsScreen> {
|
||||
Map<Key, _Hostmap> _hostmap = {};
|
||||
final Map<Key, _Hostmap> _hostmap = {};
|
||||
bool changed = false;
|
||||
|
||||
@override
|
||||
|
|
|
@ -10,7 +10,7 @@ bool DEFAULT_TRACK_ERRORS = true;
|
|||
|
||||
class Settings {
|
||||
final _storage = Storage();
|
||||
StreamController _change = StreamController.broadcast();
|
||||
final StreamController _change = StreamController.broadcast();
|
||||
var _settings = Map<String, dynamic>();
|
||||
|
||||
bool get useSystemColors {
|
||||
|
|
Loading…
Reference in a new issue