PrismDividerWithLabel constructor

const PrismDividerWithLabel({
  1. Key? key,
  2. required String label,
  3. Color? color,
  4. double? thickness,
  5. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 12),
})

Creates a labelled divider.

Implementation

const PrismDividerWithLabel({
  super.key,
  required this.label,
  this.color,
  this.thickness,
  this.padding = const EdgeInsets.symmetric(horizontal: 12),
});