haste_computables 0.0.1
haste_computables: ^0.0.1 copied to clipboard
Haste extensions for the computables library.
Haste ⚡️ - Loon #
An extension to Haste with added actions for Computables.
Install #
flutter pub add haste_computables
Actions #
compute➡️ Subscribe to a Computable.
import 'package:haste/haste.dart';
import 'package:haste_loon/haste_computables.dart';
class MyWidget extends StatelessWidget with Haste {
@override
build(context) {
final value = compute(Computable(2));
return Text(value);
}
}