ImageViewer class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- ImageViewer
Constructors
-
ImageViewer({Future<
void> onTap()?, String? htmlImage, String? assetImage, bool? alive, double? width, double? height, Widget? onErrorWidget, Widget? onLoadingWidget, EdgeInsetsGeometry? margin = EdgeInsets.zero, Color? backgroundColor, BorderRadius? borderRadius, Border? border, BoxShadow? shadow, BoxFit? fit = BoxFit.cover, BoxShape? shape = BoxShape.rectangle, Map<String, String> ? headers, Key? key, Object? tag, Duration? duration, int? maxSize}) -
ImageViewer.circle({Future<
void> onTap()?, String? htmlImage, String? assetImage, bool? alive, double? dimension, Widget? emptyWidget, Widget? filledWidget, Widget? onErrorWidget, Widget? onLoadingWidget, EdgeInsetsGeometry? margin, Color? backgroundColor, Border? border, BoxShadow? shadow, BoxFit? fit, Map<String, String> ? headers, Object? tag, Duration? duration, int? maxSize}) -
factory
-
ImageViewer.expand({Future<
void> onTap()?, String? htmlImage, String? assetImage, bool? alive, Widget? emptyWidget, Widget? filledWidget, Widget? onErrorWidget, Widget? onLoadingWidget, EdgeInsetsGeometry? margin, Color? backgroundColor, BorderRadius? borderRadius, Border? border, BoxShadow? shadow, BoxFit? fit, Map<String, String> ? headers, Object? tag, Duration? duration, int? maxSize}) -
factory
-
ImageViewer.square({Future<
void> onTap()?, String? htmlImage, String? assetImage, bool? alive, double? dimension, Widget? emptyWidget, Widget? filledWidget, Widget? onErrorWidget, Widget? onLoadingWidget, EdgeInsetsGeometry? margin, Color? backgroundColor, BorderRadius? borderRadius, Border? border, BoxShadow? shadow, BoxFit? fit, Map<String, String> ? headers, Object? tag, Duration? duration, 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