value

String? get value

Get the value prop (for TextInput)

Implementation

String? get value {
  final v = props['value'];
  return switch (v) {
    final String s => s,
    _ => null,
  };
}