MergeableMaterial constructor Null safety

const MergeableMaterial(
  1. {Key? key,
  2. Axis mainAxis,
  3. double elevation,
  4. bool hasDividers,
  5. List<MergeableMaterialItem> children,
  6. Color? dividerColor}
)

Creates a mergeable Material list of items.

Implementation

const MergeableMaterial({
  Key? key,
  this.mainAxis = Axis.vertical,
  this.elevation = 2,
  this.hasDividers = false,
  this.children = const <MergeableMaterialItem>[],
  this.dividerColor,
}) : super(key: key);