buildInput method
Widget
buildInput(
- _InputNumberModel model
)
Implementation
Widget buildInput(_InputNumberModel model) {
return Expanded(
child: Container(
alignment: Alignment.center,
padding: EdgeInsets.only(left: 4, top: 2, right: 4, bottom: 2),
decoration: BoxDecoration(
color: enable ? Colors.transparent : (disableBackgroundColor ?? Color(0xffF9FAFC)),
border: Border(
left: BorderSide(color: borderColor ?? Color(0xffDCDFE5)),
right: BorderSide(color: borderColor ?? Color(0xffDCDFE5))),
),
child: Text(
model.inputValue,
style: TextStyle(
color: enable ? (textColor ?? Color(0xff606266)) : (disableTextColor ?? Color(0xffC1C4CB)),
fontSize: textSize ?? 13,
),
),
));
}