FoldableRegionTheme constructor
const
FoldableRegionTheme({
- Duration animationDuration = const Duration(milliseconds: 300),
- Alignment contentAlignment = Alignment.bottomLeft,
- double headerHeight = 24.0,
- double foldedHeaderOpacity = 0.75,
- Color headerColor = const Color.fromRGBO(70, 79, 90, 1.0),
- Color chevronIconColor = Colors.white,
- double chevronIconSize = 18.0,
- TextStyle headingStyle = const TextStyle(color: Colors.white, fontSize: 12.0, fontWeight: FontWeight.w700),
- TextOverflow headingOverflow = TextOverflow.ellipsis,
- double indentationAmount = 12.0,
Implementation
const FoldableRegionTheme({
this.animationDuration = const Duration(milliseconds: 300),
this.contentAlignment = Alignment.bottomLeft,
this.headerHeight = 24.0,
this.foldedHeaderOpacity = 0.75,
this.headerColor = const Color.fromRGBO(70, 79, 90, 1.0),
this.chevronIconColor = Colors.white,
this.chevronIconSize = 18.0,
this.headingStyle = const TextStyle(
color: Colors.white,
fontSize: 12.0,
fontWeight: FontWeight.w700,
),
this.headingOverflow = TextOverflow.ellipsis,
this.indentationAmount = 12.0,
});