FlintPageRoute<TProps extends FlintProps> constructor
const
FlintPageRoute<TProps extends FlintProps> ({
- required String name,
- required TProps fromJson(),
- required FlintComponent builder(
- TProps props
Creates a strongly-typed page route definition.
Implementation
const FlintPageRoute({
required this.name,
required this.fromJson,
required this.builder,
});