label static method

ArcaneMutableText label({
  1. required String value,
  2. void onSave(
    1. String value
    )?,
  3. String? placeholder,
})

Implementation

static ArcaneMutableText label({
  required String value,
  void Function(String)? onSave,
  String? placeholder,
}) {
  return ArcaneMutableText(
    value: value,
    onSave: onSave,
    placeholder: placeholder,
    displayStyle: MutableTextStyle.dashed,
    textStyles: const {
      'font-size': '0.875rem',
      'color': 'var(--muted-foreground)',
    },
  );
}