Commit d12c9d90 authored by m-spi's avatar m-spi

Avant que le merge ne casse tout...

parents 638273e1 888706d5
tp1/assets/images/2.jpg

937 KB | W: | H:

tp1/assets/images/2.jpg

45.1 KB | W: | H:

tp1/assets/images/2.jpg
tp1/assets/images/2.jpg
tp1/assets/images/2.jpg
tp1/assets/images/2.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -7,14 +7,13 @@ import 'package:english_words/english_words.dart';
const String filePath = '../assets/data.json';
class TindBookState extends ChangeNotifier {
var input;
String input = "";
var data;
var favorites = <int>[];
List<int> favorites = <int>[];
void loadData() async {
this.input = await rootBundle.loadString(filePath);
this.data = jsonDecode(input)['books'];
print(this.data);
notifyListeners();
}
......
This diff is collapsed.
......@@ -26,4 +26,6 @@ flutter:
assets:
- assets/images/1.jpg
- assets/images/2.jpg
- assets/images/3.jpg
- assets/images/4.jpg
- assets/images/passeur.png
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment