ZefyrField constructor

ZefyrField({
  1. Key? key,
  2. required ZefyrController controller,
  3. FocusNode? focusNode,
  4. ScrollController? scrollController,
  5. bool scrollable = true,
  6. EdgeInsetsGeometry padding = EdgeInsets.zero,
  7. bool autofocus = false,
  8. bool showCursor = true,
  9. bool readOnly = false,
  10. bool enableInteractiveSelection = true,
  11. double? minHeight,
  12. double? maxHeight,
  13. bool expands = false,
  14. TextCapitalization textCapitalization = TextCapitalization.sentences,
  15. Brightness keyboardAppearance = Brightness.light,
  16. ScrollPhysics? scrollPhysics,
  17. ValueChanged<Uri>? onLaunchUrl,
  18. InputDecoration? decoration,
  19. Widget? toolbar,
  20. ZefyrEmbedBuilder embedBuilder = defaultZefyrEmbedBuilder,
})

Implementation

ZefyrField({
  Key? key,
  required this.controller,
  this.focusNode,
  this.scrollController,
  this.scrollable = true,
  this.padding = EdgeInsets.zero,
  this.autofocus = false,
  this.showCursor = true,
  this.readOnly = false,
  this.enableInteractiveSelection = true,
  this.minHeight,
  this.maxHeight,
  this.expands = false,
  this.textCapitalization = TextCapitalization.sentences,
  this.keyboardAppearance = Brightness.light,
  this.scrollPhysics,
  this.onLaunchUrl,
  this.decoration,
  this.toolbar,
  this.embedBuilder = defaultZefyrEmbedBuilder,
}) : super(key: key);