HeroTextWidget constructor

const HeroTextWidget({
  1. required Object tag,
  2. Key? key,
  3. Widget? child,
})

Creates a HeroTextWidget for arbitrary child widgets.

tag is required to link this hero to another.

Implementation

const HeroTextWidget({
  required this.tag,
  super.key,
  this.child,
});