unused keys

This commit is contained in:
Thibault Deckers 2022-05-12 22:15:15 +09:00
parent f78448ff91
commit f2e6dc9448
15 changed files with 4 additions and 24 deletions

View file

@ -281,7 +281,6 @@ class _FeedbackMessage extends StatefulWidget {
final Color progressColor; final Color progressColor;
const _FeedbackMessage({ const _FeedbackMessage({
super.key,
required this.message, required this.message,
required this.progressColor, required this.progressColor,
this.start, this.start,

View file

@ -236,7 +236,6 @@ class _ScaleOverlay extends StatefulWidget {
final Widget Function(Offset center, Size tileSize, Widget child) gridBuilder; final Widget Function(Offset center, Size tileSize, Widget child) gridBuilder;
const _ScaleOverlay({ const _ScaleOverlay({
super.key,
required this.builder, required this.builder,
required this.tileLayout, required this.tileLayout,
required this.center, required this.center,

View file

@ -83,7 +83,6 @@ class _AvesConfirmationDialog extends StatefulWidget {
final String confirmationButtonLabel; final String confirmationButtonLabel;
const _AvesConfirmationDialog({ const _AvesConfirmationDialog({
super.key,
required this.type, required this.type,
required this.delegate, required this.delegate,
required this.confirmationButtonLabel, required this.confirmationButtonLabel,

View file

@ -229,7 +229,6 @@ class _FilterRow extends StatelessWidget {
final void Function(String tag) onTap; final void Function(String tag) onTap;
const _FilterRow({ const _FilterRow({
super.key,
required this.title, required this.title,
required this.filters, required this.filters,
required this.expandedNotifier, required this.expandedNotifier,
@ -255,7 +254,6 @@ class _TagCount extends StatelessWidget {
final int count; final int count;
const _TagCount({ const _TagCount({
super.key,
required this.count, required this.count,
}); });

View file

@ -58,7 +58,6 @@ class _Content extends StatefulWidget {
final LatLng? initialLocation; final LatLng? initialLocation;
const _Content({ const _Content({
super.key,
required this.collection, required this.collection,
required this.initialLocation, required this.initialLocation,
}); });
@ -178,7 +177,6 @@ class _LocationInfo extends StatelessWidget {
static const double _interRowPadding = 2.0; static const double _interRowPadding = 2.0;
const _LocationInfo({ const _LocationInfo({
super.key,
required this.locationNotifier, required this.locationNotifier,
}); });
@ -230,7 +228,6 @@ class _AddressRow extends StatefulWidget {
final LatLng? location; final LatLng? location;
const _AddressRow({ const _AddressRow({
super.key,
required this.location, required this.location,
}); });
@ -312,7 +309,6 @@ class _CoordinateRow extends StatelessWidget {
final LatLng? location; final LatLng? location;
const _CoordinateRow({ const _CoordinateRow({
super.key,
required this.location, required this.location,
}); });

View file

@ -52,7 +52,6 @@ class _AlbumPickPage extends StatefulWidget {
final MoveType? moveType; final MoveType? moveType;
const _AlbumPickPage({ const _AlbumPickPage({
super.key,
required this.source, required this.source,
required this.moveType, required this.moveType,
}); });
@ -122,7 +121,6 @@ class _AlbumPickAppBar extends StatelessWidget {
static const preferredHeight = kToolbarHeight + _AlbumQueryBar.preferredHeight; static const preferredHeight = kToolbarHeight + _AlbumQueryBar.preferredHeight;
const _AlbumPickAppBar({ const _AlbumPickAppBar({
super.key,
required this.source, required this.source,
required this.moveType, required this.moveType,
required this.actionDelegate, required this.actionDelegate,
@ -207,7 +205,6 @@ class _AlbumQueryBar extends StatelessWidget implements PreferredSizeWidget {
static const preferredHeight = kToolbarHeight; static const preferredHeight = kToolbarHeight;
const _AlbumQueryBar({ const _AlbumQueryBar({
super.key,
required this.queryNotifier, required this.queryNotifier,
}); });

View file

@ -72,7 +72,6 @@ class _AddressRow extends StatefulWidget {
final AvesEntry? entry; final AvesEntry? entry;
const _AddressRow({ const _AddressRow({
super.key,
required this.entry, required this.entry,
}); });
@ -161,7 +160,6 @@ class _DateRow extends StatelessWidget {
final AvesEntry? entry; final AvesEntry? entry;
const _DateRow({ const _DateRow({
super.key,
required this.entry, required this.entry,
}); });

View file

@ -76,7 +76,6 @@ class _Content extends StatefulWidget {
final MappedGeoTiff? overlayEntry; final MappedGeoTiff? overlayEntry;
const _Content({ const _Content({
super.key,
required this.collection, required this.collection,
this.initialEntry, this.initialEntry,
this.overlayEntry, this.overlayEntry,

View file

@ -90,7 +90,7 @@ class _StorageAccessPageState extends State<StorageAccessPage> {
} }
class _Header extends StatelessWidget { class _Header extends StatelessWidget {
const _Header({super.key}); const _Header();
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {

View file

@ -55,7 +55,7 @@ class HiddenItemsPage extends StatelessWidget {
} }
class _HiddenFilters extends StatelessWidget { class _HiddenFilters extends StatelessWidget {
const _HiddenFilters({super.key}); const _HiddenFilters();
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
@ -109,7 +109,7 @@ class _HiddenFilters extends StatelessWidget {
} }
class _HiddenPaths extends StatelessWidget { class _HiddenPaths extends StatelessWidget {
const _HiddenPaths({super.key}); const _HiddenPaths();
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
@ -169,7 +169,7 @@ class _HiddenPaths extends StatelessWidget {
class _Banner extends StatelessWidget { class _Banner extends StatelessWidget {
final String bannerText; final String bannerText;
const _Banner({super.key, required this.bannerText}); const _Banner({required this.bannerText});
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {

View file

@ -132,7 +132,6 @@ class _InfoPageContent extends StatefulWidget {
final VoidCallback goToViewer; final VoidCallback goToViewer;
const _InfoPageContent({ const _InfoPageContent({
super.key,
required this.collection, required this.collection,
required this.entry, required this.entry,
required this.isScrollingNotifier, required this.isScrollingNotifier,

View file

@ -93,7 +93,6 @@ class _BottomOverlayContent extends StatefulWidget {
final AnimationController animationController; final AnimationController animationController;
const _BottomOverlayContent({ const _BottomOverlayContent({
super.key,
required this.entries, required this.entries,
required this.index, required this.index,
required this.mainEntry, required this.mainEntry,

View file

@ -288,7 +288,6 @@ class _LocationRow extends AnimatedWidget {
final AvesEntry entry; final AvesEntry entry;
_LocationRow({ _LocationRow({
super.key,
required this.entry, required this.entry,
}) : super(listenable: entry.addressChangeNotifier); }) : super(listenable: entry.addressChangeNotifier);

View file

@ -337,7 +337,6 @@ class _RegionTile extends StatefulWidget {
final int sampleSize; final int sampleSize;
const _RegionTile({ const _RegionTile({
super.key,
required this.entry, required this.entry,
required this.tileRect, required this.tileRect,
required this.regionRect, required this.regionRect,

View file

@ -290,7 +290,6 @@ class _RegionTile extends StatefulWidget {
final _BackgroundFrameBuilder? backgroundFrameBuilder; final _BackgroundFrameBuilder? backgroundFrameBuilder;
const _RegionTile({ const _RegionTile({
super.key,
required this.entry, required this.entry,
required this.tileRect, required this.tileRect,
required this.regionRect, required this.regionRect,