robusta_runner 0.1.1
robusta_runner: ^0.1.1 copied to clipboard
Run and extend your apps base on Riverpod, event driven, extensions, and more.
Robusta Runner #
Library help to run your awesome app, with it your application will easy-to-scale and maintain.
Installing #
Install this package via pub command:
dart pub get robusta_events
Usage #
Create the runner to run your app
import 'package:robusta_runner/robusta_runner.dart';
Future<void> main() async {
var counter = 0;
final runner = Runner(
extensions: [
EventExtension<RunEvent>(
{
(RunEvent e) => counter++: 0,
},
),
],
);
await runner.run();
print(counter);
}