ImagePickerWidget class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- ImagePickerWidget
Constructors
-
ImagePickerWidget({Key? key, required List<
SelectedFile> value, required List<ImagePickerMode> modes, bool enabled = true, required ValueChanged<List< onChanged, required InputDecoration decoration, SelectedFileViewBuilder? selectedFileViewBuilder, SelectedValueBuilder? selectedValueBuilder, InputButtonBuilder? inputBuilder, Widget? editIcon, Widget? deleteIcon, DeleteDialogBuilder? deleteDialogBuilder, PreprocessPickerError? processPickerError, PopupDialogBuilder? popupDialogBuilder, OnBeforeChangeCallback? onBeforeChange, double? maxWidth, double? maxHeight, int? imageQuality, CameraDevice preferredCameraDevice = CameraDevice.rear, Duration? maxDuration, bool requestFullMetadata = true, Future<SelectedFile> >void> onBeforePick()?, Future<void> onAfterPick()?, SelectedImageBuilder? selectedImageBuilder, SelectedVideoBuilder? selectedVideoBuilder}) -
const
Properties
- decoration → InputDecoration
-
final
- deleteDialogBuilder → DeleteDialogBuilder?
-
final
- deleteIcon → Widget?
-
final
- editIcon → Widget?
-
final
- enabled → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageQuality → int?
-
final
- inputBuilder → InputButtonBuilder?
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- maxDuration → Duration?
-
final
- maxHeight → double?
-
final
- maxWidth → double?
-
final
-
modes
→ List<
ImagePickerMode> -
final
-
onAfterPick
→ Future<
void> Function()? -
final
- onBeforeChange → OnBeforeChangeCallback?
-
final
-
onBeforePick
→ Future<
void> Function()? -
final
-
onChanged
→ ValueChanged<
List< SelectedFile> > -
final
- popupDialogBuilder → PopupDialogBuilder?
-
final
- preferredCameraDevice → CameraDevice
-
final
- processPickerError → PreprocessPickerError?
-
final
- requestFullMetadata → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedFileViewBuilder → SelectedFileViewBuilder?
-
final
- selectedImageBuilder → SelectedImageBuilder?
-
final
- selectedValueBuilder → SelectedValueBuilder?
-
final
- selectedVideoBuilder → SelectedVideoBuilder?
-
final
-
value
→ List<
SelectedFile> -
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
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, int wrapWidth = 65}) → 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