CupertinoSearchFlowTextField constructor Null safety

const CupertinoSearchFlowTextField(
  1. {Key? key,
  2. Object heroTag = '_search',
  3. required dynamic onSubmitted(
    1. String text
    ),
  4. required String cancelText,
  5. String? placeholder,
  6. TextEditingController? controller,
  7. bool enabled = true,
  8. String? title}
)

Creates a new search flow

Implementation

const CupertinoSearchFlowTextField({
  Key? key,
  this.heroTag = '_search',
  required this.onSubmitted,
  required this.cancelText,
  this.placeholder,
  this.controller,
  this.enabled = true,
  this.title,
}) : super(key: key);