Component constructor

const Component({
  1. required String tag,
})

Creates a component annotation with the given tag name.

Implementation

const Component({required this.tag});