runWithRunner method
Future<void>
runWithRunner({
- required WidgetBuilder app,
- required List<
EcosedPlugin> plugins, - required Future<
void> runner(- Widget app
inherited
使用运行器运行
Implementation
Future<void> runWithRunner({
required WidgetBuilder app,
required List<EcosedPlugin> plugins,
required Future<void> Function(Widget app) runner,
}) async {
return await runner(_builder(app)).then((_) {
if (!kReleaseMode && kIsWeb) {
// 打印提示信息
debugPrint('此应用正在Web浏览器中运行, 资源受限.');
}
});
}