Add some more CupertinoPicker doc (#28166)

This commit is contained in:
xster 2019-02-21 22:16:29 -08:00 committed by GitHub
parent 3837ec9e96
commit d749e0b573
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,6 +42,10 @@ class CupertinoPicker extends StatefulWidget {
/// than using [Colors.transparent]. Also, if it has transparency, no gradient
/// effect will be rendered.
///
/// The [scrollController] argument can be used to specify a custom
/// [FixedExtentScrollController] for programmatically reading or changing
/// the current picker index or for selecting an initial index value.
///
/// The [looping] argument decides whether the child list loops and can be
/// scrolled infinitely. If set to true, scrolling past the end of the list
/// will loop the list back to the beginning. If set to false, the list will