Expandable constructor
const
Expandable({})
Implementation
const Expandable({
Key? key,
required this.controller,
required this.child,
required this.height,
this.width,
this.animateWidth = false,
this.animateHeight = true,
this.curve,
this.duration,
}) : assert((animateWidth && width != null) ||
(!animateWidth && width == null)),
assert(animateHeight || animateWidth),
super(key: key);