HorizontalSpacerWithText constructor

const HorizontalSpacerWithText({
  1. required String text,
  2. required Color color,
  3. Key? key,
  4. TextStyle? textStyle,
  5. double? height = 36,
  6. double? thickness = 1.0,
})

HorizontalSpacer with custom attributes

Implementation

const HorizontalSpacerWithText({
  required this.text,
  required this.color,
  super.key,
  this.textStyle,
  this.height = 36,
  this.thickness = 1.0,
});