Fix minor warnings (#673)

pull/679/head
Sashika Nawarathne 4 years ago committed by GitHub
parent 530832810a
commit 4ae90f3aa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,

Loading…
Cancel
Save