ExpansionList<T> constructor
ExpansionList<T> ({
- Key? key,
- List<
T> ? items, - String? title,
- @required dynamic onItemSelected(
- T
- bool smallVersion = false,
- MainAxisAlignment? childrenAlignment,
- MainAxisAlignment? titleAlignment,
- Icon? icon,
- Icon? childrenTrailingIcon,
- Icon? childrenLeadingIcon,
- double height = 40,
- Color? dividerColor,
- TextStyle? textStyle,
- Color? backgroundColor,
- Color? collapseBackgroundColor,
- double? spacingBtwTextAndIcon,
- double width = 100,
Implementation
ExpansionList({
Key? key,
this.items,
this.title,
@required this.onItemSelected,
this.smallVersion = false,
this.childrenAlignment,
this.titleAlignment,
this.icon,
this.childrenTrailingIcon,
this.childrenLeadingIcon,
this.height = 40,
this.dividerColor,
this.textStyle,
this.backgroundColor,
this.collapseBackgroundColor,
this.spacingBtwTextAndIcon, this.width = 100,
}) : super(key: key);