HorizontalSpacerWithText constructor

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

Implementation

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