fill<S> static method
DiagramProperty<S, DiagramFill>
fill<S>(
- String key, {
- required String label,
- required DiagramFill read(
- S subject
- String? verb,
- DiagramPropertyArgs<
S, DiagramFill> ? args, - S update(
- S subject,
- DiagramFill value
- DiagramPropertyGroup group = DiagramPropertyGroup.general,
- bool visible(
- S subject
- bool enabled(
- S subject
- String editLabel(
- DiagramFill value
No fill, a solid color, or a linear or radial gradient.
Implementation
static DiagramProperty<S, DiagramFill> fill<S>(
String key, {
required String label,
required DiagramFill Function(S subject) read,
String? verb,
DiagramPropertyArgs<S, DiagramFill>? args,
S Function(S subject, DiagramFill value)? update,
DiagramPropertyGroup group = DiagramPropertyGroup.general,
bool Function(S subject)? visible,
bool Function(S subject)? enabled,
String Function(DiagramFill value)? editLabel,
}) => DiagramProperty._(
key,
label: label,
presentation: const DiagramFillPresentation._(),
read: read,
verb: verb,
args: args,
update: update,
group: group,
visible: visible,
enabled: enabled,
editLabel: editLabel,
);