RatioTwoText constructor

const RatioTwoText({
  1. Key? key,
  2. required dynamic first,
  3. required dynamic second,
  4. TextStyle? firstStyle,
  5. String separator = ": ",
  6. TextStyle? secondStyle,
  7. int firstFlex = 1,
  8. int secondFlex = 2,
  9. SendTextFunction? sendText,
})

Creates a RatioTwoText widget.

first and second are the main texts to display.

Implementation

const RatioTwoText({
  super.key,
  required this.first,
  required this.second,
  this.firstStyle,
  this.separator = ": ",
  this.secondStyle,
  this.firstFlex = 1,
  this.secondFlex = 2,
  this.sendText,
});