MediaPickerParamsModel class
Constructors
- MediaPickerParamsModel({int maxPickImages = 2, bool singlePick = true, Color appBarColor = Colors.black, Color albumBackGroundColor = Colors.black, Color albumDividerColor = Colors.white, Color albumTextColor = Colors.white, Color? appBarIconColor, Color appBarTextColor = Colors.white, int crossAxisCount = 3, Color gridViewBackgroundColor = Colors.black54, double childAspectRatio = 0.5, Widget? appBarLeadingWidget, double appBarHeight = 100, Color imageBackgroundColor = Colors.white, EdgeInsets? gridPadding, ScrollController? gridViewController, ScrollPhysics? gridViewPhysics, Color selectedBackgroundColor = Colors.white, Color selectedCheckColor = Colors.white, BoxFit thumbnailBoxFix = BoxFit.cover, Color selectedCheckBackgroundColor = Colors.white, bool onlyImages = true, bool onlyVideos = false, int thumbnailQuality = 200})
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
- maxPickImages → int
-
maximum images allowed (default 2)
final
- onlyImages → bool
-
load images
final
- onlyVideos → bool
-
load video
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
-
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