flutter_thrio 4.21.1 copy "flutter_thrio: ^4.21.1" to clipboard
flutter_thrio: ^4.21.1 copied to clipboard

Thrio makes it easy and fast to add flutter to existing mobile applications, and provide a simple and consistent navigator APIs.

example/lib/main.dart

import 'dart:async';

import 'package:flutter_thrio/flutter_thrio.dart';

import 'src/app.dart' as app;

Future<void> main() async {
  ThrioLogger.v('main');
  runZonedGuarded(app.main, (error, stack) {
    Zone.current.handleUncaughtError(error, stack);
  });
}

@pragma('vm:entry-point')
Future<void> biz1() async {
  runZonedGuarded(app.biz1, (error, stack) {
    Zone.current.handleUncaughtError(error, stack);
  });
}

@pragma('vm:entry-point')
Future<void> biz2() async {
  runZonedGuarded(app.biz2, (error, stack) {
    Zone.current.handleUncaughtError(error, stack);
  });
}
8
likes
145
points
358
downloads

Publisher

unverified uploader

Weekly Downloads

Thrio makes it easy and fast to add flutter to existing mobile applications, and provide a simple and consistent navigator APIs.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

async, flutter, flutter_jsonable

More

Packages that depend on flutter_thrio

Packages that implement flutter_thrio