ImagePickerTheme class

Constructors

ImagePickerTheme({Color iconColor = Colors.black, double iconSize = 125, double spaceBetweenIcons = 30, Widget? makePhotoIcon, String makePhotoText = 'Take a Picture', Widget? selectImageIcon, String selectImageText = 'Select File', TextStyle? iconTextStyle, Widget closeButtonBuilder(Function onTap)?})
The ImagePickerTheme is used to style the ImagePicker.
const

Properties

closeButtonBuilder → (Widget Function(Function onTap)?)
final
hashCode → int
The hash code for this object.
no setterinherited
iconColor → Color
The color of the icons
final
iconSize → double
The size of the icons that are visible in the Image Picker Dialog.
final
iconTextStyle → TextStyle?
final
makePhotoIcon → Widget?
The icon that is displayed for the 'Make Photo' functionality of the Image Picker Dialog.
final
makePhotoText → String
The text that is displayed underneath the 'Make Photo' icon.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectImageIcon → Widget?
The icon that is displayed for the 'Select Image From Gallery' functionality of the Image Picker Dialog.
final
selectImageText → String
The text that is displayed underneath the 'Select Image From Gallery' icon.
final
spaceBetweenIcons → double
The size of the space between the two icons in the Image Picker Dialog.
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