InfoItemWidget constructor

const InfoItemWidget({
  1. Key? key,
  2. required String prefixText,
  3. String? infoText,
  4. Widget? infoWidget,
  5. Widget? child,
  6. VoidCallback? onTap,
  7. TextStyle? prefixTextStyle,
  8. TextStyle? infoTextStyle,
  9. bool isTextField = false,
  10. bool isLeftAlign = false,
  11. int prefixTextFlex = 1,
  12. int infoTextFlex = 3,
  13. double? endPadding,
  14. TextEditingController? textEditingController,
})

Implementation

const InfoItemWidget({
  Key? key,
  required this.prefixText,
  this.infoText,
  this.infoWidget,
  this.child,
  this.onTap,
  this.prefixTextStyle,
  this.infoTextStyle,
  this.isTextField = false,
  this.isLeftAlign = false,
  this.prefixTextFlex = 1,
  this.infoTextFlex = 3,
  this.endPadding,
  this.textEditingController,
}) : super(key: key);