1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-29 22:45:44 +00:00

Maj nuget + flutter

This commit is contained in:
Yan Maniez 2020-05-16 02:26:51 +02:00
parent 695f014d83
commit 108fc25313
21 changed files with 8783 additions and 1065 deletions

View file

@ -1,4 +1,4 @@
import 'dart:convert';
/*import 'dart:convert';
import 'package:http/http.dart' as http;
@ -17,3 +17,4 @@ class MyWebApi {
}
}
}
*/

View file

@ -19,7 +19,7 @@ ThemeData mainTheme() {
color: Colors.white,
iconTheme: IconThemeData(color: Colors.black),
textTheme: TextTheme(
title: TextStyle(
headline6: TextStyle(
fontSize: 28.0,
color: Colors.black,
fontWeight: FontWeight.bold,
@ -31,34 +31,34 @@ ThemeData mainTheme() {
fontFamily: 'LinuxLibertine',
textTheme: TextTheme(
// p
body1: TextStyle(
bodyText2: TextStyle(
fontSize: 15.0,
color: Colors.black,
fontFamily: 'LinuxLibertine',
),
// h1
headline: TextStyle(
headline5: TextStyle(
fontSize: 30.0,
color: colorHDRed,
fontWeight: FontWeight.bold,
fontFamily: 'Cinzel-Bold',
),
// h2
title: TextStyle(
headline6: TextStyle(
fontSize: 25.0,
color: Colors.black,
fontWeight: FontWeight.bold,
fontFamily: 'Cinzel-Regular',
),
// h3
subhead: TextStyle(
subtitle1: TextStyle(
fontSize: 20.0,
color: Colors.black,
fontWeight: FontWeight.bold,
fontFamily: 'Cinzel-Regular',
),
// h4, h5, h6
body2: TextStyle(
bodyText1: TextStyle(
fontSize: 18.0,
color: Colors.black,
fontWeight: FontWeight.bold,

View file

@ -20,7 +20,7 @@ class HomePage extends StatelessWidget {
FlatButton.icon(
label: Text(
AppLocalizations.of(context).libraryTitle,
style: Theme.of(context).textTheme.headline,
style: Theme.of(context).textTheme.headline5,
),
icon: SvgPicture.asset(
"assets/spell-book.svg",
@ -40,7 +40,7 @@ class HomePage extends StatelessWidget {
FlatButton.icon(
label: Text(
AppLocalizations.of(context).pceditorTitle,
style: Theme.of(context).textTheme.headline,
style: Theme.of(context).textTheme.headline5,
),
icon: SvgPicture.asset(
"assets/swordman.svg",
@ -58,7 +58,7 @@ class HomePage extends StatelessWidget {
FlatButton.icon(
label: Text(
AppLocalizations.of(context).aboutTitle,
style: Theme.of(context).textTheme.headline,
style: Theme.of(context).textTheme.headline5,
),
icon: SvgPicture.asset(
"assets/wooden-sign.svg",