Apply dart fixes (#1411)

This commit is contained in:
Vishnu Mohandas 2023-09-22 12:21:29 +05:30 committed by GitHub
commit 712fa1ce0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -363,7 +363,7 @@ class AlbumVerticalListWidget extends StatelessWidget {
int collectionID,
bool showProgressDialog,
) async {
bool result = await _collectionActions.addToCollection(
final bool result = await _collectionActions.addToCollection(
context,
collectionID,
showProgressDialog,

View file

@ -80,7 +80,7 @@ class HiddenCollectionsButtonWidget extends StatelessWidget {
if (hasAuthenticated) {
routeToPage(
context,
HiddenPage(),
const HiddenPage(),
);
}
},

View file

@ -108,7 +108,7 @@ class FileAppBarState extends State<FileAppBar> {
actions.add(
Text(
widget.file.generatedID?.toString() ?? 'null',
style: TextStyle(color: Colors.white),
style: const TextStyle(color: Colors.white),
),
);
}