numberElement2 function
dynamic
numberElement2(
- String text,
- String hint,
- String hint2,
- TextEditingController _controller,
- dynamic onChange(),
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),
],
);
}