PackageAssetsLoader class

  • to load lang files from 'assets/lang/'
Inheritance

Constructors

PackageAssetsLoader(String name)
  • to load lang files from 'assets/lang/'
  • const

    Properties

    hashCode int
    The hash code for this object.
    read-onlyinherited
    name String
    your package name used to place the translations under it for the override feature
    finalinherited
    runtimeType Type
    A representation of the runtime type of the object.
    read-onlyinherited

    Methods

    load(Locale locale) Future<Map<String, dynamic>>
  • loads the data from you files
  • override
    noSuchMethod(Invocation invocation) → dynamic
    Invoked when a nonexistent method or property is accessed.
    inherited
    toString() String
    A string representation of this object.
    inherited

    Operators

    operator ==(Object other) bool
    The equality operator.
    inherited