
试试这个
new DropdownButton<String>( items: <String>['A', 'B', 'C', 'D'].map((String value) { return new DropdownMenuItem<String>( value: value, child: new Text(value), ); }).toList(), onChanged: (_) {},)欢迎分享,转载请注明来源:内存溢出

试试这个
new DropdownButton<String>( items: <String>['A', 'B', 'C', 'D'].map((String value) { return new DropdownMenuItem<String>( value: value, child: new Text(value), ); }).toList(), onChanged: (_) {},)欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)