mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-29 14:35:45 +00:00
Test
This commit is contained in:
parent
a0029eb4ea
commit
b63f39af8c
1 changed files with 18 additions and 24 deletions
|
|
@ -145,27 +145,6 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||||
return item;
|
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) {
|
Widget buildMarkdown(BuildContext context) {
|
||||||
return Markdown(
|
return Markdown(
|
||||||
data: markdown,
|
data: markdown,
|
||||||
|
|
@ -231,16 +210,31 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||||
bottomNavigationBar: BottomNavigationBar(
|
bottomNavigationBar: BottomNavigationBar(
|
||||||
items: <BottomNavigationBarItem>[
|
items: <BottomNavigationBarItem>[
|
||||||
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'),
|
title: Text('Bibliothèque'),
|
||||||
),
|
),
|
||||||
BottomNavigationBarItem(
|
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'),
|
title: Text('Favoris'),
|
||||||
),
|
),
|
||||||
BottomNavigationBarItem(
|
BottomNavigationBarItem(
|
||||||
//icon: Icon(Icons.business),
|
//icon: Icon(Icons.business),
|
||||||
icon: svgSearch,
|
icon: SvgPicture.asset(
|
||||||
|
"assets/crystal-ball.svg",
|
||||||
|
height: 40.0,
|
||||||
|
width: 40.0,
|
||||||
|
allowDrawingOutsideViewBox: true,
|
||||||
|
),
|
||||||
title: Text('Recherche'),
|
title: Text('Recherche'),
|
||||||
//activeIcon: Icon(Icons.category, color: Color(0xFFEF5123)),
|
//activeIcon: Icon(Icons.category, color: Color(0xFFEF5123)),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue