showTextInputBottomSheet method

dynamic showTextInputBottomSheet({
  1. required BuildContext context,
  2. required String title,
  3. required String tips,
  4. required dynamic onSubmitted(
    1. String text
    ),
  5. required TUITheme theme,
  6. Offset? initOffset,
  7. String? initText,
})

Show the text input bottom sheet

Implementation

showTextInputBottomSheet({
  required BuildContext context,
  required String title,
  required String tips,
  required Function(String text) onSubmitted,
  required TUITheme theme,
  Offset? initOffset,
  String? initText,
}) {
  TextInputBottomSheet.showTextInputBottomSheet(
      context: context,
      title: title,
      tips: tips,
      onSubmitted: onSubmitted,
      theme: theme,
      initOffset: initOffset,
      initText: initText);
}