Component<P> constructor

const Component<P>(
  1. ComponentId id,
  2. P props, {
  3. String? key,
  4. List<ReactNode> children = const [],
})

Implementation

const Component(this.id, this.props, {this.key, this.children = const []});