InlineTextField constructor

const InlineTextField({
  1. Key? key,
  2. Widget? child,
  3. InputDecoration? decoration,
  4. required void onEditingComplete(
    1. String value
    ),
  5. TextStyle? style,
  6. TextStyle? styleEditing,
  7. String? text,
})

Implementation

const InlineTextField({
  Key? key,
  this.child,
  this.decoration,
  required this.onEditingComplete,
  this.style,
  this.styleEditing,
  this.text,
})  : assert(!(style != null && text == null),
          'Declaring style whithout text is not supported.'),
      assert(!(child != null && text != null),
          'Declaring both child and text is not supported.'),
      super(key: key);