mirror of
https://github.com/flutter/samples.git
synced 2026-04-24 07:51:04 +00:00
Compass app (#2446)
This commit is contained in:
24
compass_app/app/lib/main_development.dart
Normal file
24
compass_app/app/lib/main_development.dart
Normal file
@@ -0,0 +1,24 @@
|
||||
// Copyright 2024 The Flutter team. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:logging/logging.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
import 'config/dependencies.dart';
|
||||
import 'main.dart';
|
||||
|
||||
/// Development config entry point.
|
||||
/// Launch with `flutter run --target lib/main_development.dart`.
|
||||
/// Uses local data.
|
||||
void main() {
|
||||
Logger.root.level = Level.ALL;
|
||||
|
||||
runApp(
|
||||
MultiProvider(
|
||||
providers: providersLocal,
|
||||
child: const MainApp(),
|
||||
),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user