mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
419 B
21 lines
419 B
6 years ago
|
import 'package:flutter_web/material.dart';
|
||
|
import 'package:vision_challenge/packages/flutter_redux.dart';
|
||
|
import 'package:vision_challenge/packages/redux.dart';
|
||
|
import 'game.dart';
|
||
|
|
||
|
void main() {
|
||
|
final store = Store<AppState>(
|
||
|
reducer,
|
||
|
initialState: AppState.init(),
|
||
|
);
|
||
|
|
||
|
runApp(
|
||
|
StoreProvider<AppState>(
|
||
|
store: store,
|
||
|
child: MaterialApp(
|
||
|
home: Game(store),
|
||
|
),
|
||
|
),
|
||
|
);
|
||
|
}
|