Gal class final
Main class of gal.
See: wiki
- Annotations
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Static Methods
-
hasAccess(
{bool toAlbum = false}) → Future< bool> - Check if the app has access permissions.
-
open(
) → Future< void> - Open gallery app.
-
putImage(
String path, {String? album}) → Future< void> -
Save a image to the gallery from file
path
. -
putImageBytes(
Uint8List bytes, {String? album, String name = 'image'}) → Future< void> - Save a image to the gallery from Uint8List.
-
putVideo(
String path, {String? album}) → Future< void> -
Save a video to the gallery from file
path
. -
requestAccess(
{bool toAlbum = false}) → Future< bool> - Request access permissions.