ArcaneSeparator.withIcon constructor

const ArcaneSeparator.withIcon({
  1. required Widget icon,
  2. SeparatorVariant variant = SeparatorVariant.standard,
  3. String? color,
  4. bool dashed = false,
  5. double? margin,
  6. Key? key,
})

Creates a separator with an icon in the middle.

Implementation

const ArcaneSeparator.withIcon({
  required Widget this.icon,
  this.variant = SeparatorVariant.standard,
  this.color,
  this.dashed = false,
  this.margin,
  super.key,
})  : orientation = SeparatorOrientation.horizontal,
      label = null,
      decorative = false,
      height = null;