ComponentInfo constructor

const ComponentInfo(
  1. String tag,
  2. Function factory
)

Creates component info with the given tag and factory.

Implementation

const ComponentInfo(this.tag, this.factory);