flutter_eco_mode library

Classes

DeviceRange
FlutterEcoMode
An implementation of FlutterEcoModePlatform that uses pigeon.

Exceptions / Errors

EcoModeActivityNotAttachedException
Thrown on Android when a permission request is made while the plugin is not currently attached to an Activity.
EcoModeException
An exception thrown by the flutter_eco_mode plugin.
EcoModeGenericException
Thrown when an unknown/unmapped native error occurs.
EcoModePermissionDeniedException
Thrown when a required runtime permission has been denied by the user or has not been requested yet.
EcoModePermissionException
Thrown when a native permission-related operation fails unexpectedly (e.g. a SecurityException while reading network capabilities on Android), independently of whether the permission was actually granted.
EcoModeStorageException
Thrown when the native platform fails to read storage information (total/free disk space).