Expandable constructor
const
Expandable({
- required Widget title,
- required List<
Widget> children, - Key? key,
- BoxDecoration? decoration,
- EdgeInsetsGeometry? padding,
- Curve curve = _kCurve,
- Duration duration = _kDuration,
- IconData expandIcon = _kExpand,
- EdgeInsetsGeometry? margin,
- ValueNotifier<
bool> ? expansionNotifier, - double? iconSize,
- bool initiallyExpanded = false,
- void onLongPress()?,
- EdgeInsetsGeometry? titlePadding,
- EdgeInsetsGeometry? childrenPadding,
- void onExpansionChanged(
- bool isExpanded
- BorderRadius? borderRadius,
- Color? focusColor,
- Color? highlightColor,
- Color? hoverColor,
- Color? splashColor,
- Color? iconColor,
- double? splashRadius,
Implementation
const Expandable({
required this.title,
required this.children,
super.key,
this.decoration,
this.padding,
this.curve = _kCurve,
this.duration = _kDuration,
this.expandIcon = _kExpand,
this.margin,
this.expansionNotifier,
this.iconSize,
this.initiallyExpanded = false,
this.onLongPress,
this.titlePadding,
this.childrenPadding,
this.onExpansionChanged,
this.borderRadius,
this.focusColor,
this.highlightColor,
this.hoverColor,
this.splashColor,
this.iconColor,
this.splashRadius,
});