Support infinite scrolling for CupertinoPicker. (#19789)
Allows the cupertino picker to be scroll infinitely by adding builder.
This commit is contained in:
@@ -99,6 +99,7 @@ class _CupertinoPickerDemoState extends State<CupertinoPickerDemo> {
|
||||
child: new Text(index.toString()),
|
||||
);
|
||||
}),
|
||||
looping: true,
|
||||
),
|
||||
),
|
||||
new Expanded(
|
||||
@@ -123,6 +124,7 @@ class _CupertinoPickerDemoState extends State<CupertinoPickerDemo> {
|
||||
child: new Text(index.toString()),
|
||||
);
|
||||
}),
|
||||
looping: true,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user