mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Changes to package import statements to prevent errors when using FirebaseCrashlytics code (#1309)
This commit is contained in:
@@ -2,6 +2,11 @@
|
|||||||
// for details. All rights reserved. Use of this source code is governed by a
|
// for details. All rights reserved. Use of this source code is governed by a
|
||||||
// BSD-style license that can be found in the LICENSE file.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Uncomment the following lines when enabling Firebase Crashlytics
|
||||||
|
// import 'dart:io';
|
||||||
|
// import 'package:firebase_core/firebase_core.dart';
|
||||||
|
// import 'firebase_options.dart';
|
||||||
|
|
||||||
import 'package:firebase_crashlytics/firebase_crashlytics.dart';
|
import 'package:firebase_crashlytics/firebase_crashlytics.dart';
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
@@ -34,7 +39,8 @@ import 'src/style/snack_bar.dart';
|
|||||||
import 'src/win_game/win_game_screen.dart';
|
import 'src/win_game/win_game_screen.dart';
|
||||||
|
|
||||||
Future<void> main() async {
|
Future<void> main() async {
|
||||||
// Uncomment the following lines to enable Firebase Crashlytics.
|
// To enable Firebase Crashlytics, uncomment the following lines and
|
||||||
|
// the import statements at the top of this file.
|
||||||
// See the 'Crashlytics' section of the main README.md file for details.
|
// See the 'Crashlytics' section of the main README.md file for details.
|
||||||
|
|
||||||
FirebaseCrashlytics? crashlytics;
|
FirebaseCrashlytics? crashlytics;
|
||||||
|
|||||||
Reference in New Issue
Block a user