make fields which are not re-assigned as final
This commit is contained in:
parent
ffebccf003
commit
16ea080a4e
3 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ class PasswordReentryPage extends StatefulWidget {
|
|||
|
||||
class _PasswordReentryPageState extends State<PasswordReentryPage> {
|
||||
final _passwordController = TextEditingController();
|
||||
FocusNode _passwordFocusNode = FocusNode();
|
||||
final FocusNode _passwordFocusNode = FocusNode();
|
||||
bool _passwordInFocus = false;
|
||||
bool _passwordVisible = false;
|
||||
|
||||
|
|
|
@ -180,7 +180,7 @@ class ProgressDialog {
|
|||
|
||||
// ignore: must_be_immutable
|
||||
class _Body extends StatefulWidget {
|
||||
_BodyState _dialog = _BodyState();
|
||||
final _BodyState _dialog = _BodyState();
|
||||
|
||||
update() {
|
||||
_dialog.update();
|
||||
|
|
|
@ -31,7 +31,7 @@ class SharedCollectionGallery extends StatefulWidget {
|
|||
|
||||
class _SharedCollectionGalleryState extends State<SharedCollectionGallery>
|
||||
with AutomaticKeepAliveClientMixin {
|
||||
Logger _logger = Logger("SharedCollectionGallery");
|
||||
final Logger _logger = Logger("SharedCollectionGallery");
|
||||
StreamSubscription<LocalPhotosUpdatedEvent> _localFilesSubscription;
|
||||
StreamSubscription<CollectionUpdatedEvent> _collectionUpdatesSubscription;
|
||||
StreamSubscription<UserLoggedOutEvent> _loggedOutEvent;
|
||||
|
|
Loading…
Add table
Reference in a new issue