leadingText property

String? get leadingText

Implementation

String? get leadingText => _leadingText;
  1. @Input()
set leadingText (String? value)

Any text to show at the leading edge of the input -- e.g. a currency symbol or similar.

Implementation

@Input()
set leadingText(String? value) {
  _leadingText = value;
  // Possibly set by a directive and not a template. So default change
  // detection doesn't work without calling markForCheck.
  _changeDetector.markForCheck();
}