numberElement2Percentage function

dynamic numberElement2Percentage(
  1. String text,
  2. String hint,
  3. TextEditingController _controller,
  4. dynamic onChange(
    1. String
    ),
)

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),
    ],
  );
}