run_app library
Copyright (C) 2021 Andrious Solutions
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Created 28 Sep 2021
At times, you may need to explicitly supply the custom runApp function:
import 'package:fluttery_framework/run_app.dart';
Otherwise, it's supplied by the view.dart export file.
Functions
-
runApp(
Widget app, {FlutterExceptionHandler? errorHandler, ErrorWidgetBuilder? errorScreen, ReportErrorHandler? errorReport, bool allowNewHandlers = false}) → void - Used in the conditional export statement: Found in 'package:fluttery_framework/view.dart' For example: export 'package:fluttery_framework/src/conditional_export.dart' if (dart.library.html) 'package:flutter/material.dart' if (dart.library.io) 'package:fluttery_framework/src/controller/app.dart' show runApp; This of course is fake. Merely to satisfy the Dart Analysis tool. if (dart.library.html) 'package:fluttery_framework/src/view/platforms/run_webapp.dart' if (dart.library.io) 'package:fluttery_framework/src/view/platforms/run_app.dart'