CustomWidget constructor

const CustomWidget({
  1. Key? key,
  2. required String? label,
  3. required double? value,
  4. required Color? backgroundColor,
  5. required Color? backgroundColorLine,
  6. TextStyle? textStyleLine,
})

Implementation

const CustomWidget({
  Key? key,
  required this.label,
  required this.value,
  required this.backgroundColor,
  required this.backgroundColorLine,
  this.textStyleLine,
}) : super(key: key);