CupertinoPicker fidelity revision (#31464)

This commit is contained in:
xster
2019-04-25 00:03:04 -07:00
committed by GitHub
parent 9e51e13e91
commit 8cfc92465d
14 changed files with 596 additions and 229 deletions

View File

@@ -95,8 +95,8 @@ class _CupertinoPickerDemoState extends State<CupertinoPickerDemo> {
setState(() => _selectedColorIndex = index);
},
children: List<Widget>.generate(coolColorNames.length, (int index) {
return Center(child:
Text(coolColorNames[index]),
return Center(
child: Text(coolColorNames[index]),
);
}),
),