1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-29 14:35:45 +00:00
This commit is contained in:
Yan Maniez 2020-02-20 17:39:31 +01:00
parent a0029eb4ea
commit b63f39af8c

View file

@ -145,27 +145,6 @@ class _MyHomePageState extends State<MyHomePage> {
return item;
}
final Widget svgLibrary = SvgPicture.asset(
"assets/spell-book.svg",
height: 20.0,
width: 20.0,
allowDrawingOutsideViewBox: true,
);
final Widget svgBookmarks = SvgPicture.asset(
"assets/stars-stack.svg",
height: 20.0,
width: 20.0,
allowDrawingOutsideViewBox: true,
);
final Widget svgSearch = SvgPicture.asset(
"assets/crystal-ball.svg",
height: 20.0,
width: 20.0,
allowDrawingOutsideViewBox: true,
);
Widget buildMarkdown(BuildContext context) {
return Markdown(
data: markdown,
@ -231,16 +210,31 @@ class _MyHomePageState extends State<MyHomePage> {
bottomNavigationBar: BottomNavigationBar(
items: <BottomNavigationBarItem>[
BottomNavigationBarItem(
icon: svgLibrary, // Icon(Icons.home),
icon: SvgPicture.asset(
"assets/spell-book.svg",
height: 40.0,
width: 40.0,
allowDrawingOutsideViewBox: true,
), // Icon(Icons.home),
title: Text('Bibliothèque'),
),
BottomNavigationBarItem(
icon: svgBookmarks, // Icon(Icons.business),
icon: SvgPicture.asset(
"assets/stars-stack.svg",
height: 40.0,
width: 40.0,
allowDrawingOutsideViewBox: true,
), // Icon(Icons.business),
title: Text('Favoris'),
),
BottomNavigationBarItem(
//icon: Icon(Icons.business),
icon: svgSearch,
icon: SvgPicture.asset(
"assets/crystal-ball.svg",
height: 40.0,
width: 40.0,
allowDrawingOutsideViewBox: true,
),
title: Text('Recherche'),
//activeIcon: Icon(Icons.category, color: Color(0xFFEF5123)),
),