mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
Fix minor warnings (#673)
This commit is contained in:
committed by
GitHub
parent
530832810a
commit
4ae90f3aa9
@@ -140,7 +140,7 @@ class _AdaptiveScaffoldState extends State<AdaptiveScaffold> {
|
||||
...widget.destinations.map(
|
||||
(d) => BottomNavigationBarItem(
|
||||
icon: Icon(d.icon),
|
||||
title: Text(d.title),
|
||||
label: d.title,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
@@ -57,7 +57,7 @@ class HomeScreen extends StatelessWidget {
|
||||
}
|
||||
|
||||
class DetailScreen extends StatelessWidget {
|
||||
String id;
|
||||
final String id;
|
||||
|
||||
DetailScreen({
|
||||
this.id,
|
||||
|
||||
Reference in New Issue
Block a user