ViewGenerator typedef

ViewGenerator = FutureOr<String> Function(String path, [Map<String, dynamic>? data])

A function that asynchronously generates a view from the given path and data.

Implementation

typedef ViewGenerator = FutureOr<String> Function(String path,
    [Map<String, dynamic>? data]);