ImagePicker class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- ImagePicker
Constructors
-
ImagePicker({required ImageController? controller, required double? width, required double? height, Future<
void> onTap()?, String? htmlImage, String? assetImage, bool? alive, double? filterOpacity = 0.2, Widget? emptyWidget, Widget? filledWidget, Widget? onErrorWidget, Widget? onLoadingWidget, EdgeInsetsGeometry? margin = EdgeInsets.zero, Color? backgroundColor, BorderRadius? borderRadius, Border? border, BoxShadow? shadow, bool? readOnly = false, BoxFit? fit = BoxFit.cover, bool? viewerBlur = true, double? viewerBlurSigma = 5.0, bool? previewBlur = false, double? previewBlurSigma = 5.0, BoxShape? shape = BoxShape.rectangle, Object? tag, Duration? duration, Color? closeColor, int? maxSize, Map<String, String> ? headers, Key? key}) -
ImagePicker.circle({required ImageController controller, Future<
void> onTap()?, String? htmlImage, String? assetImage, bool? alive, double? dimension, double? filterOpacity, Widget? emptyWidget, Widget? filledWidget, Widget? onErrorWidget, Widget? onLoadingWidget, EdgeInsetsGeometry? margin, Color? backgroundColor, Border? border, BoxShadow? shadow, bool? readOnly, BoxFit? fit, bool? viewerBlur, double? viewerBlurSigma, bool? previewBlur, double? previewBlurSigma, Object? tag, Duration? duration, Color? closeColor, int? maxSize}) -
factory
-
ImagePicker.expand({required ImageController controller, Future<
void> onTap()?, String? htmlImage, String? assetImage, bool? alive, double? filterOpacity, Widget? emptyWidget, Widget? filledWidget, Widget? onErrorWidget, Widget? onLoadingWidget, EdgeInsetsGeometry? margin, Color? backgroundColor, BorderRadius? borderRadius, Border? border, BoxShadow? shadow, bool? readOnly, BoxFit? fit, bool? viewerBlur, double? viewerBlurSigma, bool? previewBlur, double? previewBlurSigma, Object? tag, Duration? duration, Color? closeColor, int? maxSize}) -
factory
-
ImagePicker.square({required ImageController controller, Future<
void> onTap()?, String? htmlImage, String? assetImage, bool? alive, double? dimension, double? filterOpacity, Widget? emptyWidget, Widget? filledWidget, Widget? onErrorWidget, Widget? onLoadingWidget, EdgeInsetsGeometry? margin, Color? backgroundColor, BorderRadius? borderRadius, Border? border, BoxShadow? shadow, bool? readOnly, BoxFit? fit, bool? viewerBlur, double? viewerBlurSigma, bool? previewBlur, double? previewBlurSigma, Duration? duration, Color? closeColor, Object? tag, int? maxSize}) -
factory
Properties
- alive → bool?
-
finalinherited
- assetImage → String?
-
finalinherited
- backgroundColor → Color?
-
finalinherited
- border → Border?
-
finalinherited
- borderRadius → BorderRadius?
-
finalinherited
- closeColor → Color?
-
finalinherited
- controller → ImageController?
-
finalinherited
- duration → Duration?
-
finalinherited
- emptyWidget → Widget?
-
finalinherited
- filledWidget → Widget?
-
finalinherited
- filterOpacity → double?
-
finalinherited
- fit → BoxFit?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> ? -
finalinherited
- height → double?
-
finalinherited
- htmlImage → String?
-
finalinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- margin → EdgeInsetsGeometry?
-
finalinherited
- maxSize → int?
-
finalinherited
- onErrorWidget → Widget?
-
finalinherited
- onLoadingWidget → Widget?
-
finalinherited
-
onTap
→ Future<
void> Function()? -
finalinherited
- previewBlur → bool?
-
finalinherited
- previewBlurSigma → double?
-
finalinherited
- readOnly → bool?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadow → BoxShadow?
-
finalinherited
- shape → BoxShape?
-
finalinherited
- tag → Object?
-
finalinherited
- viewerBlur → bool?
-
finalinherited
- viewerBlurSigma → double?
-
finalinherited
- width → double?
-
finalinherited
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< ImageBody> -
Creates the mutable state for this widget at a given 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