main.dart 444 Bytes
Newer Older
1
import 'package:flutter/material.dart';
2
import 'package:vanilla/app.dart';
Brian Egan's avatar
Brian Egan committed
3 4
import 'package:todos_repository/todos_repository.dart';
import 'package:path_provider/path_provider.dart';
5 6

void main() {
7 8
  runApp(
    new VanillaApp(
Brian Egan's avatar
Brian Egan committed
9 10 11 12 13 14
      repository: new TodosRepository(
        fileStorage: new FileStorage(
          "vanilla_app",
          getApplicationDocumentsDirectory,
        ),
        webClient: new WebClient(),
15 16 17
      ),
    ),
  );
18
}