CupertinoSheet constructor

CupertinoSheet({
  1. Key? key,
  2. required String title,
  3. required List<String> options,
  4. TextStyle? titleTextStyle,
  5. TextStyle? optionTextStyle,
  6. TextStyle? cancelTextStyle,
  7. required dynamic didIndexSelected(
    1. int index
    ),
})

Implementation

CupertinoSheet({
  Key? key,
  required this.title,
  required this.options,
  this.titleTextStyle,
  this.optionTextStyle,
  this.cancelTextStyle,
  required this.didIndexSelected,
}) : super(key: key);