TListCardTheme constructor
const
TListCardTheme({
- required Color backgroundColor,
- required Color selectedBackgroundColor,
- required Color disabledBackgroundColor,
- required Widget expansionIndicatorBuilder(),
- required Widget selectionIndicatorBuilder(),
- required Widget contentBuilder(),
- bool showSelectionIndicator = true,
- EdgeInsets padding = const EdgeInsets.symmetric(vertical: 5, horizontal: 15),
- double levelIndentation = 18.0,
Creates a list card theme.
Implementation
const TListCardTheme({
required this.backgroundColor,
required this.selectedBackgroundColor,
required this.disabledBackgroundColor,
required this.expansionIndicatorBuilder,
required this.selectionIndicatorBuilder,
required this.contentBuilder,
this.showSelectionIndicator = true,
this.padding = const EdgeInsets.symmetric(vertical: 5, horizontal: 15),
this.levelIndentation = 18.0,
});