标签:引入 set size onchange picker get tst new text
引入以来后直接这样写代码就好了!当成一个widget使用:
Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
NumberPicker.integer(
initialValue: _currentValue,
minValue: 0,
maxValue: 100,
onChanged: (newValue) =>
setState(() => _currentValue = newValue)),
Text("Current number: $_currentValue"),
],
),
标签:引入 set size onchange picker get tst new text
原文地址:https://www.cnblogs.com/braveheart007/p/11141194.html