NumberField constructor
const
NumberField({})
创建数字输入框
@param key 控件键 @param color 按钮及边框颜色(默认蓝色) @param min 最小值限制(默认0) @param max 最大值限制(默认10000) @param controller 文本编辑控制器(可选) @param focus 焦点控制节点(可选) @param style 输入文本样式(默认30号字体)
Implementation
const NumberField(
{Key? key,
this.color = Colors.blue,
this.min = 0,
this.max = 10000,
this.controller,
this.focus,
this.style = const TextStyle(fontSize: 30)})
: super(key: key);