numberElement2 function

dynamic numberElement2(
  1. String text,
  2. String hint,
  3. String hint2,
  4. TextEditingController _controller,
  5. dynamic onChange(
    1. String
    ),
)

Implementation

numberElement2(String text, String hint, String hint2, TextEditingController _controller, Function(String) onChange){
  return Row(
    crossAxisAlignment: CrossAxisAlignment.center,
    children: [
      SelectableText(text, style: aTheme.style14W400),
      SizedBox(width: 5,),
      Container(
          width: 100,
          child: Edit41Number(controller: _controller,
            radius: aTheme.radius,
            style: aTheme.style14W400,
            onChange: onChange,
            backgroundColor: (aTheme.darkMode) ? aTheme.blackColorTitleBkg : Colors.white,
            hint: hint,
            color: Colors.grey, )),
      SizedBox(width: 5,),
      Text(hint2, style: aTheme.style14W400),
    ],
  );
}