mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-29 06:26:02 +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
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
title: 'Flutter Demo',
|
||||
title: 'Haches & Dés',
|
||||
theme: ThemeData(
|
||||
primarySwatch: Colors.red,
|
||||
primarySwatch: Colors.deepOrange,
|
||||
),
|
||||
home: MyHomePage(id: 'index.md'),
|
||||
);
|
||||
|
|
@ -178,9 +178,9 @@ class _MyHomePageState extends State<MyHomePage> {
|
|||
}
|
||||
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text(widget.id),
|
||||
),
|
||||
//appBar: AppBar(
|
||||
// title: Text(widget.id),
|
||||
//),
|
||||
body: currentPage,
|
||||
bottomNavigationBar: BottomNavigationBar(
|
||||
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
|
||||
description: A new Flutter application.
|
||||
description: Haches & Dés version flutter
|
||||
|
||||
# The following defines the version and build number for your application.
|
||||
# A version number is three numbers separated by dots, like 1.2.43
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue