getLocale method

Locale getLocale()

Returns the locale of the matched AnyText via Widget.toDiagnosticsNode

Implementation

Locale getLocale() {
  return getDiagnosticProp<Locale>('locale');
}