build method

  1. @override
FlintNode build()
override

Builds this component's renderable output.

App code can return a node, another component, text, or an iterable of renderable values. The renderer normalizes the value internally.

Implementation

@override
FlintNode build() {
  return Container(
    props: const {
      'style': {'padding': '24px', 'font-family': 'system-ui, sans-serif'},
    },
    children: [Text('Flint page "$component" was not registered.')],
  );
}