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