mirror of https://github.com/flutter/pinball.git
fix: update readme and remove flavors (#403)
* fix: update readme and remove flavors * update blog urlrefactor/blinking-behavior
parent
46557f718e
commit
2c4c7a36a9
@ -1,7 +0,0 @@
|
|||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="development" type="FlutterRunConfigurationType" factoryName="Flutter">
|
|
||||||
<option name="buildFlavor" value="development" />
|
|
||||||
<option name="filePath" value="$PROJECT_DIR$/lib/main_development.dart" />
|
|
||||||
<method v="2" />
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
@ -0,0 +1,6 @@
|
|||||||
|
<component name="ProjectRunConfigurationManager">
|
||||||
|
<configuration default="false" name="main" type="FlutterRunConfigurationType" factoryName="Flutter">
|
||||||
|
<option name="filePath" value="$PROJECT_DIR$/lib/main.dart" />
|
||||||
|
<method v="2" />
|
||||||
|
</configuration>
|
||||||
|
</component>
|
@ -1,7 +0,0 @@
|
|||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="production" type="FlutterRunConfigurationType" factoryName="Flutter">
|
|
||||||
<option name="buildFlavor" value="production" />
|
|
||||||
<option name="filePath" value="$PROJECT_DIR$/lib/main_production.dart" />
|
|
||||||
<method v="2" />
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
@ -1,7 +0,0 @@
|
|||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="staging" type="FlutterRunConfigurationType" factoryName="Flutter">
|
|
||||||
<option name="buildFlavor" value="staging" />
|
|
||||||
<option name="filePath" value="$PROJECT_DIR$/lib/main_staging.dart" />
|
|
||||||
<method v="2" />
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
After Width: | Height: | Size: 1.3 MiB |
@ -1,26 +0,0 @@
|
|||||||
import 'dart:async';
|
|
||||||
|
|
||||||
import 'package:authentication_repository/authentication_repository.dart';
|
|
||||||
import 'package:firebase_core/firebase_core.dart';
|
|
||||||
import 'package:leaderboard_repository/leaderboard_repository.dart';
|
|
||||||
import 'package:pinball/app/app.dart';
|
|
||||||
import 'package:pinball/bootstrap.dart';
|
|
||||||
import 'package:pinball_audio/pinball_audio.dart';
|
|
||||||
|
|
||||||
void main() {
|
|
||||||
bootstrap((firestore, firebaseAuth) async {
|
|
||||||
final leaderboardRepository = LeaderboardRepository(firestore);
|
|
||||||
final authenticationRepository = AuthenticationRepository(firebaseAuth);
|
|
||||||
final pinballAudioPlayer = PinballAudioPlayer();
|
|
||||||
unawaited(
|
|
||||||
Firebase.initializeApp().then(
|
|
||||||
(_) => authenticationRepository.authenticateAnonymously(),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
return App(
|
|
||||||
authenticationRepository: authenticationRepository,
|
|
||||||
leaderboardRepository: leaderboardRepository,
|
|
||||||
pinballAudioPlayer: pinballAudioPlayer,
|
|
||||||
);
|
|
||||||
});
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
import 'dart:async';
|
|
||||||
|
|
||||||
import 'package:authentication_repository/authentication_repository.dart';
|
|
||||||
import 'package:firebase_core/firebase_core.dart';
|
|
||||||
import 'package:leaderboard_repository/leaderboard_repository.dart';
|
|
||||||
import 'package:pinball/app/app.dart';
|
|
||||||
import 'package:pinball/bootstrap.dart';
|
|
||||||
import 'package:pinball_audio/pinball_audio.dart';
|
|
||||||
|
|
||||||
void main() {
|
|
||||||
bootstrap((firestore, firebaseAuth) async {
|
|
||||||
final leaderboardRepository = LeaderboardRepository(firestore);
|
|
||||||
final authenticationRepository = AuthenticationRepository(firebaseAuth);
|
|
||||||
final pinballAudioPlayer = PinballAudioPlayer();
|
|
||||||
unawaited(
|
|
||||||
Firebase.initializeApp().then(
|
|
||||||
(_) => authenticationRepository.authenticateAnonymously(),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
return App(
|
|
||||||
authenticationRepository: authenticationRepository,
|
|
||||||
leaderboardRepository: leaderboardRepository,
|
|
||||||
pinballAudioPlayer: pinballAudioPlayer,
|
|
||||||
);
|
|
||||||
});
|
|
||||||
}
|
|
Loading…
Reference in new issue