ZefyrField constructor
ZefyrField({
- Key? key,
- required ZefyrController controller,
- FocusNode? focusNode,
- ScrollController? scrollController,
- bool scrollable = true,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- bool autofocus = false,
- bool showCursor = true,
- bool readOnly = false,
- bool enableInteractiveSelection = true,
- double? minHeight,
- double? maxHeight,
- bool expands = false,
- TextCapitalization textCapitalization = TextCapitalization.sentences,
- Brightness keyboardAppearance = Brightness.light,
- ScrollPhysics? scrollPhysics,
- ValueChanged<
Uri> ? onLaunchUrl, - InputDecoration? decoration,
- Widget? toolbar,
- 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);