MergeableMaterial constructor

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

Creates a mergeable Material list of items.

Implementation

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