HeroBarWidget.expanded constructor

const HeroBarWidget.expanded({
  1. Key? key,
  2. required Widget child,
  3. required double height,
})

Implementation

const HeroBarWidget.expanded({
  Key? key,
  required this.child,
  required double height,
})   : collapsedHeight = 0.0,
      expandedHeight = height,
      super(key: key);