GallerySetting class
Setting for drishya picker
- Annotations
Constructors
-
GallerySetting({List<
DrishyaEntity> selectedEntities = const [], RequestType requestType = RequestType.all, int maximumCount = 50, SelectionMode selectionMode = SelectionMode.countBased, String albumTitle = 'All Photos', String albumSubtitle = 'Select Media', bool enableCamera = true, int? crossAxisCount, PanelSetting? panelSetting, EditorSetting? editorSetting, CameraSetting? cameraSetting, EditorSetting? cameraTextEditorSetting, EditorSetting? cameraPhotoEditorSetting}) -
Gallery setting
const
Properties
- albumSubtitle → String
-
String displayed below album name. Default : 'Select media'
final
- albumTitle → String
-
Album name for all photos, default is set to "All Photos"
final
- cameraPhotoEditorSetting → EditorSetting?
-
Camera photo editor setting, if null editorSetting will be used
final
- cameraSetting → CameraSetting?
-
Camera setting
final
- cameraTextEditorSetting → EditorSetting?
-
Camera text editor setting, if null editorSetting will be used
final
- crossAxisCount → int?
-
Gallery grid cross axis count. Default is 3
final
- editorSetting → EditorSetting?
-
Gallery photo editor setting, if null default setting will be used
final
- enableCamera → bool
-
Set false to hide camera from gallery view
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- maximumCount → int
-
Total media allowed to select. Default is 50
final
- panelSetting → PanelSetting?
-
Gallery slidable panel setting
final
- requestType → RequestType
-
Type of media e.g, image, video, audio, other
Default is RequestType.all
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selectedEntities
→ List<
DrishyaEntity> -
Previously selected entities
final
- selectionMode → SelectionMode
-
Multiselection mode, default is SelectionMode.countBased
final
Methods
-
copyWith(
{List< DrishyaEntity> ? selectedEntities, RequestType? requestType, int? maximumCount, SelectionMode? selectionMode, String? albumTitle, String? albumSubtitle, bool? enableCamera, int? crossAxisCount, PanelSetting? panelSetting, EditorSetting? editorSetting, CameraSetting? cameraSetting, EditorSetting? cameraTextEditorSetting, EditorSetting? cameraPhotoEditorSetting}) → GallerySetting - Helper function to copy its properties
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override