matL10n property

MaterialLocalizations get matL10n

Returns the material localizations from the closest material.MaterialLocalizations ancestor.

context.materialLocalizations is equivalent to material.MaterialLocalizations.of.

Implementation

material.MaterialLocalizations get matL10n {
  return material.MaterialLocalizations.of(this);
}