Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import 'dart:async';
- import 'package:flutter/foundation.dart';
- import 'package:flutter/material.dart';
- import 'package:firebase_crashlytics/firebase_crashlytics.dart';
- //import 'misc/gymModule/gymDetailUI.dart';
- void main() {
- // Set `enableInDevMode` to true to see reports while in debug mode
- // This is only to be used for confirming that reports are being
- // submitted as expected. It is not intended to be used for everyday
- // development.
- Crashlytics.instance.enableInDevMode = true;
- // Pass all uncaught errors to Crashlytics.
- FlutterError.onError = Crashlytics.instance.recordFlutterError;
- runZoned<Future<void>>(() async {
- runApp(MyApp());
- }, onError: Crashlytics.instance.recordError);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement