CustomHero constructor

const CustomHero({
  1. Key? key,
  2. Widget child = const Material(),
  3. Object tag = 0,
  4. Color? color,
})

Implementation

const CustomHero(
    {Key? key, this.child = const Material(), this.tag = 0, this.color})
    : super(key: key);