numberElement2Percentage function
dynamic
numberElement2Percentage(
- String text,
- String hint,
- TextEditingController _controller,
- dynamic onChange(),
Implementation
numberElement2Percentage(String text, String hint, TextEditingController _controller, Function(String) onChange){
return Row(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(text, style: aTheme.style14W400, overflow: TextOverflow.ellipsis,),
SizedBox(width: 10,),
Container(
width: 100,
child: Edit41web(controller: _controller,
priceOnly100: true,
onChange: onChange,
hint: hint,
)),
SizedBox(width: 10,),
Text("%", style: aTheme.style14W400),
],
);
}