FoldableRegionTheme constructor

const FoldableRegionTheme({
  1. Duration animationDuration = const Duration(milliseconds: 300),
  2. Alignment contentAlignment = Alignment.bottomLeft,
  3. double headerHeight = 24.0,
  4. double foldedHeaderOpacity = 0.75,
  5. Color headerColor = const Color.fromRGBO(70, 79, 90, 1.0),
  6. Color chevronIconColor = Colors.white,
  7. double chevronIconSize = 18.0,
  8. TextStyle headingStyle = const TextStyle(color: Colors.white, fontSize: 12.0, fontWeight: FontWeight.w700),
  9. TextOverflow headingOverflow = TextOverflow.ellipsis,
  10. 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,
});