HeroBar constructor

HeroBar({
  1. Key? key,
  2. required Widget child,
  3. HeroHintsBuilder? transition,
  4. bool? skipConstraints,
  5. required double height,
  6. double? expandedHeight,
})

Implementation

HeroBar(
    {Key? key,
    required Widget child,
    HeroHintsBuilder? transition,
    bool? skipConstraints,
    required double height,
    double? expandedHeight})
    : this._(
          key: key,
          transition: transition,
          skipConstraints: skipConstraints,
          children: [
            HeroBarWidget.expanding(
              child: child,
              collapsedHeight: height,
              expandedHeight: expandedHeight ?? height,
            )
          ]);