1
0
mirror of https://github.com/h7x4/Jisho-Study-Tool.git synced 2024-12-21 13:37:29 +01:00

add final keyword to nav list

This commit is contained in:
Oystein Kristoffer Tveit 2020-07-13 23:39:16 +02:00
parent 0a9dba4d2e
commit b45a661cff

View File

@ -52,7 +52,7 @@ class _HomeState extends State<Home> {
}
}
List<BottomNavigationBarItem> navBar = [
final List<BottomNavigationBarItem> navBar = [
BottomNavigationBarItem(
title: Text('Search'),
icon: Icon(Icons.search),
@ -85,7 +85,7 @@ class Page {
Page({this.title, this.content});
}
List<Page> pages = [
final List<Page> pages = [
Page(
title: "Search",
content: SearchView(),