MutableBackground constructor

const MutableBackground({
  1. Widget? expandedWidget,
  2. Color? expandedColor,
  3. Widget? collapsedWidget,
  4. Color? collapsedColor,
  5. Duration animationDuration = const Duration(milliseconds: 150),
  6. Key? key,
})

Implementation

const MutableBackground({
  this.expandedWidget,
  this.expandedColor,
  this.collapsedWidget,
  this.collapsedColor,
  this.animationDuration = const Duration(milliseconds: 150),
  Key? key,
})  : assert(expandedColor == null || expandedWidget == null),
      assert(collapsedColor == null || collapsedWidget == null),
      super(key: key);