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:
parent
0a9dba4d2e
commit
b45a661cff
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user