mirror of
https://github.com/DefinedNet/mobile_nebula.git
synced 2025-02-23 11:35:26 +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;
|
late EventChannel _updates;
|
||||||
|
|
||||||
/// Signals that something about this site has changed. onError is called with an error string if there was an error
|
/// 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
|
// Identifiers
|
||||||
late String name;
|
late String name;
|
||||||
|
|
|
@ -32,7 +32,7 @@ class StaticHostsScreen extends StatefulWidget {
|
||||||
}
|
}
|
||||||
|
|
||||||
class _StaticHostsScreenState extends State<StaticHostsScreen> {
|
class _StaticHostsScreenState extends State<StaticHostsScreen> {
|
||||||
Map<Key, _Hostmap> _hostmap = {};
|
final Map<Key, _Hostmap> _hostmap = {};
|
||||||
bool changed = false;
|
bool changed = false;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|
|
@ -10,7 +10,7 @@ bool DEFAULT_TRACK_ERRORS = true;
|
||||||
|
|
||||||
class Settings {
|
class Settings {
|
||||||
final _storage = Storage();
|
final _storage = Storage();
|
||||||
StreamController _change = StreamController.broadcast();
|
final StreamController _change = StreamController.broadcast();
|
||||||
var _settings = Map<String, dynamic>();
|
var _settings = Map<String, dynamic>();
|
||||||
|
|
||||||
bool get useSystemColors {
|
bool get useSystemColors {
|
||||||
|
|
Loading…
Reference in a new issue