DDSImageUpload class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- DDSImageUpload
Constructors
-
DDSImageUpload({Key? key, ImageContainerShape imageShape = ImageContainerShape.square, double imageWidth = 195.0, double imageHeight = 185.0, double uploadImageWidth = 195.0, double uploadImageHeight = 185.0, int maxImages = 5, bool? displayImageWithCount, double? maxWidth, IconData? uploadIcon = Icons.camera_alt_outlined, Color? uploadIconColor = Colors.grey, double? uploadIconSize = 40, String? uploadText = "Add image", Color? textColor = Colors.grey, IconData? uploadedImageTopRightIcon, Color? uploadedImageTopRightIconColor, dynamic onImageUpload(List<
ImageData> )?, Future<bool> onDeletePressed(ImageData imageData)?, Widget? nextIcon, Widget? previousIcon, Widget? shrinkIcon, BoxDecoration? shrinkButtonBoxDecoration, Color? imageViewerBackgroundColor, EdgeInsets? imageViewerPadding, Widget? viewExcessImageText, bool? removeOnlyRecentImage, Widget? uploadedImageTopRightWidget, BoxConstraints? shrinkButtonConstraints, EdgeInsets? shrinkButtonMargin, EdgeInsets? deleteButtonMargin, AlignmentGeometry shrinkButtonAlignment = Alignment.bottomCenter, int maxImageDisplayed = 3, bool uploadButtonFirst = true}) -
const
Properties
- deleteButtonMargin → EdgeInsets?
-
final
- displayImageWithCount → bool?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageHeight → double
-
final
- imageShape → ImageContainerShape
-
final
- imageViewerBackgroundColor → Color?
-
final
- imageViewerPadding → EdgeInsets?
-
final
- imageWidth → double
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- maxImageDisplayed → int
-
final
- maxImages → int
-
final
- maxWidth → double?
-
final
- nextIcon → Widget?
-
final
-
onDeletePressed
→ Future<
bool> Function(ImageData imageData)? -
final
-
onImageUpload
→ dynamic Function(List<
ImageData> )? -
final
- previousIcon → Widget?
-
final
- removeOnlyRecentImage → bool?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shrinkButtonAlignment → AlignmentGeometry
-
final
- shrinkButtonBoxDecoration → BoxDecoration?
-
final
- shrinkButtonConstraints → BoxConstraints?
-
final
- shrinkButtonMargin → EdgeInsets?
-
final
- shrinkIcon → Widget?
-
final
- textColor → Color?
-
final
- uploadButtonFirst → bool
-
final
- uploadedImageTopRightIcon → IconData?
-
final
- uploadedImageTopRightIconColor → Color?
-
final
- uploadedImageTopRightWidget → Widget?
-
final
- uploadIcon → IconData?
-
final
- uploadIconColor → Color?
-
final
- uploadIconSize → double?
-
final
- uploadImageHeight → double
-
final
- uploadImageWidth → double
-
final
- uploadText → String?
-
final
- viewExcessImageText → Widget?
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _ImageUploaderState -
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, 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