CustomVersionComparatorView<TResult> class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- VersionComparatorView<
TResult> - CustomVersionComparatorView
- Implementers
Constructors
- CustomVersionComparatorView({Key? key, required FutureVersionResponseCallback onVersionCompareCallback, required Widget child, void onStateChanged(VersionComparatorState state)?, VoidOutOfDateVersionErrorCallback? onOutOfDateVersionError, VersionDialogService? versionDialogService, VersionCompareErrorViewBuilder? errorPageBuilder, VersionOutOfDateViewBuilder? outOfDateVersionPageBuilder, void onAfterPopDialog(TResult? result)?, TResult? popVersionDialogResult, VoidVersionComparatorSuccessCallback? onCompareSuccess, VoidCompareErrorCallback? onCompareError, VersionCompareErrorViewBuilder? invalidVersionDialogContentBuilder, CheckVersionLoadingType loadingType = CheckVersionLoadingType.widget, VersionOutOfDateViewBuilder? outOfDateVersionDialogContentBuilder, double loadingWidgetSize = kLoadingWidgetSize, bool isLoadingTextVisible = true, bool isChildExpandedInStack = false, bool isDismissibleWhenGetDataError = false, bool isUpdateRequired = false, bool isCancelActionVisible = true, double spaceAroundChild = kMediumSpace, Widget? loadingWidget, String? loadingText})
- CustomVersionComparatorView.alertDialog({Key? key, required FutureVersionResponseCallback onVersionCompareCallback, required Widget child, void onStateChanged(VersionComparatorState state)?, VersionDialogService? versionDialogService, VoidOutOfDateVersionErrorCallback? onOutOfDateVersionError, void onAfterPopDialog(TResult? result)?, TResult? popVersionDialogResult, VoidVersionComparatorSuccessCallback? onCompareSuccess, VoidCompareErrorCallback? onCompareError, VersionCompareErrorViewBuilder? invalidVersionDialogContentBuilder, double loadingWidgetSize = kLoadingWidgetSize, bool isLoadingTextVisible = true, bool isChildExpandedInStack = false, bool isDismissibleWhenGetDataError = false, bool isUpdateRequired = false, bool isCancelActionVisible = true, double spaceAroundChild = kMediumSpace, Widget? loadingWidget, String? loadingText})
- CustomVersionComparatorView.widget({Key? key, required VersionCompareErrorViewBuilder? errorPageBuilder, required FutureVersionResponseCallback onVersionCompareCallback, required VersionOutOfDateViewBuilder? outOfDateVersionPageBuilder, required Widget child, void onStateChanged(VersionComparatorState state)?, VoidOutOfDateVersionErrorCallback? onOutOfDateVersionError, VoidVersionComparatorSuccessCallback? onCompareSuccess, VoidCompareErrorCallback? onCompareError, double loadingWidgetSize = kLoadingWidgetSize, bool isLoadingTextVisible = true, bool isChildExpandedInStack = false, bool isUpdateRequired = false, double spaceAroundChild = kMediumSpace, Widget? loadingWidget, String? loadingText})
-
const
Properties
- child → Widget
-
finalinherited
- dialogService → VersionDialogService?
-
finalinherited
- errorPageBuilder → VersionCompareErrorViewBuilder?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- invalidVersionDialogContentBuilder → VersionCompareErrorViewBuilder?
-
finalinherited
- isCancelActionVisible → bool
-
finalinherited
- isChildExpandedInStack → bool
-
finalinherited
- isDismissibleWhenGetDataError → bool
-
finalinherited
- isLoadingTextVisible → bool
-
finalinherited
- isUpdateRequired → bool
-
finalinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- loadingText → String?
-
finalinherited
- loadingType → CheckVersionLoadingType
-
finalinherited
- loadingWidget → Widget?
-
finalinherited
- loadingWidgetSize → double
-
finalinherited
- onAfterPopDialog → (void Function(TResult? result)?)
-
finalinherited
- onCompareError → VoidCompareErrorCallback?
-
finalinherited
- onCompareSuccess → VoidVersionComparatorSuccessCallback?
-
finalinherited
- onOutOfDateVersionError → VoidOutOfDateVersionErrorCallback?
-
finalinherited
- onStateChanged → (void Function(VersionComparatorState state)?)
-
finalinherited
- onVersionCompareCallback → FutureVersionResponseCallback
-
finalinherited
- outOfDateVersionDialogContentBuilder → VersionOutOfDateViewBuilder?
-
finalinherited
- outOfDateVersionPageBuilder → VersionOutOfDateViewBuilder?
-
finalinherited
- popVersionDialogResult → TResult?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spaceAroundChild → double
-
finalinherited
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< CustomVersionComparatorView< TResult> > -
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}) → 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