HeroBarWidget.fixed constructor

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

Implementation

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