GalleryMediaPicker class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- GalleryMediaPicker
Constructors
-
GalleryMediaPicker({Key? key, int maxPickImages = 2, bool singlePick = true, Color appBarColor = Colors.white, Color? albumBackGroundColor = Colors.white, Color? albumDividerColor, Color albumTextColor = Colors.black, Color? appBarIconColor, Color appBarTextColor = Colors.black, int? crossAxisCount, Color gridViewBackgroundColor = Colors.white, double? childAspectRatio, Widget? appBarLeadingWidget, double appBarHeight = 100, Color imageBackgroundColor = Colors.white, EdgeInsets? gridPadding, ScrollController? gridViewController, ScrollPhysics? gridViewPhysics, dynamic pathList(List<
PickedAssetModel> path)?, Color selectedBackgroundColor = Colors.white, Color selectedCheckColor = Colors.white, BoxFit thumbnailBoxFix = BoxFit.cover, Color selectedCheckBackgroundColor = Colors.white, bool onlyImages = false, bool onlyVideos = false, int? thumbnailQuality, required GalleryMediaPickerController provider}) -
const
Properties
- albumBackGroundColor → Color?
-
album background color
final
- albumDividerColor → Color?
-
album divider color
final
- albumTextColor → Color
-
album text color
final
- appBarColor → Color
-
dropdown appbar color
final
- appBarHeight → double
-
appBar height
final
- appBarIconColor → Color?
-
appBar icon Color
final
- appBarLeadingWidget → Widget?
-
appBar leading widget
final
- appBarTextColor → Color
-
appBar TextColor
final
- childAspectRatio → double?
-
gallery gridview aspect ratio
final
- crossAxisCount → int?
-
gallery gridview crossAxisCount
final
- gridPadding → EdgeInsets?
-
gridView Padding
final
- gridViewBackgroundColor → Color
-
gridView background color
final
- gridViewController → ScrollController?
-
gridView controller
final
- gridViewPhysics → ScrollPhysics?
-
gridView physics
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageBackgroundColor → Color
-
grid image backGround color
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- maxPickImages → int
-
maximum images allowed (default 2)
final
- onlyImages → bool
-
load images
final
- onlyVideos → bool
-
load video
final
-
pathList
→ (dynamic Function(List<
PickedAssetModel> path)?) -
return all selected paths
final
- provider → GalleryMediaPickerController
-
picker provider
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedBackgroundColor → Color
-
selected background color
final
- selectedCheckBackgroundColor → Color
-
selected Check Background Color
final
- selectedCheckColor → Color
-
selected check color
final
- singlePick → bool
-
picker mode
final
- thumbnailBoxFix → BoxFit
-
thumbnail box fit
final
- thumbnailQuality → int?
-
image quality thumbnail
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< GalleryMediaPicker> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited