ZefyrEditableText constructor

const ZefyrEditableText(
  1. {Key key,
  2. @required ZefyrController controller,
  3. @required FocusNode focusNode,
  4. @required ZefyrImageDelegate imageDelegate,
  5. TextSelectionControls selectionControls,
  6. bool autofocus = true,
  7. ZefyrMode mode = ZefyrMode.edit,
  8. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16.0),
  9. ScrollPhysics physics,
  10. Brightness keyboardAppearance = Brightness.light}
)

Implementation

const ZefyrEditableText({
  Key key,
  @required this.controller,
  @required this.focusNode,
  @required this.imageDelegate,
  this.selectionControls,
  this.autofocus = true,
  this.mode = ZefyrMode.edit,
  this.padding = const EdgeInsets.symmetric(horizontal: 16.0),
  this.physics,
  this.keyboardAppearance = Brightness.light,
})  : assert(mode != null),
      assert(controller != null),
      assert(focusNode != null),
      assert(keyboardAppearance != null),
      super(key: key);