LinkStyleDialog constructor
const
LinkStyleDialog({
- Key? key,
- String? text,
- String? link,
- QuillDialogTheme? dialogTheme,
- BoxConstraints? constraints,
- EdgeInsetsGeometry contentPadding = const EdgeInsets.symmetric(vertical: 16, horizontal: 16),
- String? addLinkLabel,
- String? editLinkLabel,
- Color? linkColor,
- double childrenSpacing = 16.0,
- AutovalidateMode autovalidateMode = AutovalidateMode.disabled,
- String? validationMessage,
- Size? buttonSize,
Implementation
const LinkStyleDialog({
super.key,
this.text,
this.link,
this.dialogTheme,
this.constraints,
this.contentPadding =
const EdgeInsets.symmetric(vertical: 16, horizontal: 16),
this.addLinkLabel,
this.editLinkLabel,
this.linkColor,
this.childrenSpacing = 16.0,
this.autovalidateMode = AutovalidateMode.disabled,
this.validationMessage,
this.buttonSize,
}) : assert(addLinkLabel == null || addLinkLabel.length > 0),
assert(editLinkLabel == null || editLinkLabel.length > 0),
assert(childrenSpacing > 0),
assert(validationMessage == null || validationMessage.length > 0);