InfoItemWidget constructor
const
InfoItemWidget({
- Key? key,
- required String prefixText,
- String? infoText,
- Widget? infoWidget,
- Widget? child,
- VoidCallback? onTap,
- TextStyle? prefixTextStyle,
- TextStyle? infoTextStyle,
- bool isTextField = false,
- bool isLeftAlign = false,
- int prefixTextFlex = 1,
- int infoTextFlex = 3,
- double? endPadding,
- 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);