ScribbleModel constructor
ScribbleModel(
- WidgetModel parent,
- String? id, {
- dynamic mandatory,
- dynamic editable,
- dynamic enabled,
- dynamic value,
- dynamic height,
- dynamic width,
- dynamic hint,
- dynamic size,
- dynamic color,
- dynamic weight,
- dynamic style,
- dynamic post,
Implementation
ScribbleModel(
WidgetModel super.parent,
super.id, {
dynamic mandatory,
dynamic editable,
dynamic enabled,
dynamic value,
dynamic height,
dynamic width,
dynamic hint,
dynamic size,
dynamic color,
dynamic weight,
dynamic style,
dynamic post,
}) {
if (width != null) this.width = width;
if (height != null) this.height = height;
if (mandatory != null) this.mandatory = mandatory;
if (editable != null) this.editable = editable;
if (enabled != null) this.enabled = enabled;
if (value != null) this.value = value;
if (hint != null) this.hint = hint;
if (size != null) this.size = size;
if (color != null) this.color = color;
if (weight != null) this.weight = weight;
if (style != null) this.style = style;
if (post != null) this.post = post;
alarming = false;
dirty = false;
}