thrio 0.1.3 copy "thrio: ^0.1.3" to clipboard
thrio: ^0.1.3 copied to clipboard

discontinued
outdated

A flutter plugin which enables hybrid integration of flutter for existing ios or android apps.

example/lib/main.dart

import 'dart:async';

import 'package:flutter/foundation.dart';
import 'src/app.dart' as app;

Future<void> main() async {
  FlutterError.onError = (details) async {
    Zone.current.handleUncaughtError(details.exception, details.stack);
  };
  runZoned<void>(app.main);
}

@pragma('vm:entry-point')
Future<void> biz1() async {
  FlutterError.onError = (details) async {
    Zone.current.handleUncaughtError(details.exception, details.stack);
  };
  runZoned<void>(app.biz1);
}

@pragma('vm:entry-point')
Future<void> biz2() async {
  FlutterError.onError = (details) async {
    Zone.current.handleUncaughtError(details.exception, details.stack);
  };
  runZoned<void>(app.biz2);
}
9
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A flutter plugin which enables hybrid integration of flutter for existing ios or android apps.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on thrio