createComputed<V> method

FlutterComputed<V> createComputed<V>(
  1. V cb(), {
  2. String? debugLabel,
})

Create a computed<T> and watch for changes

Implementation

FlutterComputed<V> createComputed<V>(
  V Function() cb, {
  String? debugLabel,
}) {
  return _bindLocal(
    computed<V>(
      cb,
      debugLabel: debugLabel,
    ),
  );
}