mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-29 22:45:44 +00:00
Tests
This commit is contained in:
parent
c25cc83ec2
commit
900c49e614
2 changed files with 23 additions and 6 deletions
|
|
@ -11,9 +11,9 @@ class MyApp extends StatelessWidget {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return MaterialApp(
|
return MaterialApp(
|
||||||
title: 'Flutter Demo',
|
title: 'Haches & Dés',
|
||||||
theme: ThemeData(
|
theme: ThemeData(
|
||||||
primarySwatch: Colors.red,
|
primarySwatch: Colors.deepOrange,
|
||||||
),
|
),
|
||||||
home: MyHomePage(id: 'index.md'),
|
home: MyHomePage(id: 'index.md'),
|
||||||
);
|
);
|
||||||
|
|
@ -178,9 +178,9 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||||
}
|
}
|
||||||
|
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
//appBar: AppBar(
|
||||||
title: Text(widget.id),
|
// title: Text(widget.id),
|
||||||
),
|
//),
|
||||||
body: currentPage,
|
body: currentPage,
|
||||||
bottomNavigationBar: BottomNavigationBar(
|
bottomNavigationBar: BottomNavigationBar(
|
||||||
currentIndex: indexPage,
|
currentIndex: indexPage,
|
||||||
|
|
@ -241,6 +241,23 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
appBar: AppBar(
|
||||||
|
title: Text(widget.id),
|
||||||
|
actions: [
|
||||||
|
Builder(
|
||||||
|
builder: (context) => IconButton(
|
||||||
|
icon: SvgPicture.asset(
|
||||||
|
"assets/funnel.svg",
|
||||||
|
height: 30.0,
|
||||||
|
width: 30.0,
|
||||||
|
allowDrawingOutsideViewBox: true,
|
||||||
|
), //Icon(Icons.filter),
|
||||||
|
onPressed: () => Scaffold.of(context).openEndDrawer(),
|
||||||
|
tooltip: MaterialLocalizations.of(context).openAppDrawerTooltip,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
name: aidedejeu_flutter
|
name: aidedejeu_flutter
|
||||||
description: A new Flutter application.
|
description: Haches & Dés version flutter
|
||||||
|
|
||||||
# The following defines the version and build number for your application.
|
# The following defines the version and build number for your application.
|
||||||
# A version number is three numbers separated by dots, like 1.2.43
|
# A version number is three numbers separated by dots, like 1.2.43
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue