CodelesslyFunction<T> typedef

CodelesslyFunction<T> = FutureOr<T> Function(BuildContext context, CodelesslyContext reference, Map<String, dynamic> params)

A function signature passing functions into CodelesslyWidget.

Implementation

typedef CodelesslyFunction<T> = FutureOr<T> Function(
  BuildContext context,
  // TODO: Reference can be retrieved using context, should we remove this?
  CodelesslyContext reference,
  Map<String, dynamic> params,
);