[mob][photos] Lint suggestions

This commit is contained in:
Neeraj Gupta 2024-04-25 16:28:30 +05:30
parent 864f5c1fd4
commit 483cfd1f39
3 changed files with 4 additions and 4 deletions

View file

@ -56,7 +56,7 @@ class _AutoCastDialogState extends State<AutoCastDialog> {
}
if (snapshot.data!.isEmpty) {
return const Center(child: Text(S.of(context).noDeviceFound));
return Center(child: Text(S.of(context).noDeviceFound));
}
return Column(

View file

@ -6,9 +6,9 @@ import "package:photos/ui/components/buttons/button_widget.dart";
import "package:photos/ui/components/models/button_type.dart";
class CastChooseDialog extends StatefulWidget {
CastChooseDialog({
const CastChooseDialog({
Key? key,
}) : super(key: key) {}
}) : super(key: key);
@override
State<CastChooseDialog> createState() => _CastChooseDialogState();

View file

@ -861,7 +861,7 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
context: context,
barrierDismissible: true,
builder: (BuildContext context) {
return CastChooseDialog();
return const CastChooseDialog();
},
);
_logger.info("Cast result: $result");