fix: resolve 2 remaining strict analysis errors
- introPage.dart: Convert fireItems to proper static function closure - mainDrawer.dart: Convert unreadCount int to String for Text widget
This commit is contained in:
parent
1864e5b105
commit
7a4c9fb3bc
61 changed files with 1386 additions and 1202 deletions
|
|
@ -1,66 +1,67 @@
|
|||
import 'package:fires_flutter/models/yourLocation.dart';
|
||||
import 'package:objectid/objectid.dart';
|
||||
|
||||
import '../models/yourLocation.dart';
|
||||
|
||||
abstract class YourLocationActions {}
|
||||
|
||||
class AddYourLocationAction extends YourLocationActions {
|
||||
YourLocation loc;
|
||||
|
||||
AddYourLocationAction(this.loc);
|
||||
YourLocation loc;
|
||||
}
|
||||
|
||||
class AddedYourLocationAction extends YourLocationActions {
|
||||
YourLocation loc;
|
||||
|
||||
AddedYourLocationAction(this.loc);
|
||||
YourLocation loc;
|
||||
}
|
||||
|
||||
class DeleteYourLocationAction extends YourLocationActions {
|
||||
YourLocation loc;
|
||||
|
||||
DeleteYourLocationAction(this.loc);
|
||||
YourLocation loc;
|
||||
}
|
||||
|
||||
class DeletedYourLocationAction extends YourLocationActions {
|
||||
ObjectId id;
|
||||
|
||||
DeletedYourLocationAction(this.id);
|
||||
ObjectId id;
|
||||
}
|
||||
|
||||
class UpdateYourLocationAction extends YourLocationActions {
|
||||
YourLocation loc;
|
||||
|
||||
UpdateYourLocationAction(this.loc);
|
||||
YourLocation loc;
|
||||
}
|
||||
|
||||
class UpdatedYourLocationAction extends YourLocationActions {
|
||||
YourLocation loc;
|
||||
|
||||
UpdatedYourLocationAction(this.loc);
|
||||
YourLocation loc;
|
||||
}
|
||||
|
||||
class ToggleSubscriptionAction extends YourLocationActions {
|
||||
YourLocation loc;
|
||||
|
||||
ToggleSubscriptionAction(this.loc);
|
||||
YourLocation loc;
|
||||
}
|
||||
|
||||
class ToggledSubscriptionAction extends YourLocationActions {
|
||||
YourLocation loc;
|
||||
|
||||
ToggledSubscriptionAction(this.loc);
|
||||
YourLocation loc;
|
||||
}
|
||||
|
||||
class SubscribeAction extends YourLocationActions {}
|
||||
|
||||
class SubscribeConfirmAction extends YourLocationActions {
|
||||
YourLocation loc;
|
||||
|
||||
SubscribeConfirmAction(this.loc);
|
||||
YourLocation loc;
|
||||
}
|
||||
|
||||
class UnSubscribeAction extends YourLocationActions {
|
||||
YourLocation loc;
|
||||
|
||||
UnSubscribeAction(this.loc);
|
||||
YourLocation loc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue