FastOperationRewardedDialog class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- FastOperationRewardedDialog
Constructors
- FastOperationRewardedDialog({Key? key, required FutureBoolCallback onCreateOperation, required WidgetBuilder intialBuilder, FastOperationStatusChanged? onOperationStatusChanged, FutureBoolCallback? onGrantRights, FutureBoolCallback? onVerifyRights, WidgetBuilder? verifyingRightsBuilder, WidgetBuilder? missingRightsBuilder, WidgetBuilder? grantingRightsBuilder, WidgetBuilder? rightsDeniedBuillder, WidgetBuilder? operationInProgressBuilder, WidgetBuilder? operationSucceededBuilder, WidgetBuilder? operationFailedBuilder, String? onGetValidText(FastOperationStatus)?, Widget errorBuilder(BuildContext context, dynamic error)?, String? onGetCancelText(FastOperationStatus)?, String? onGetTitleText(FastOperationStatus)?, String? onGetAlternativeText(FastOperationStatus)?, FastOperationStatusChanged? onAlternativeAction, FastOperationStatusChanged? onCancel, FastOperationStatusChanged? onValid})
- Constructs a FastOperationRewardedDialog.
Properties
- errorBuilder → Widget Function(BuildContext context, dynamic error)?
-
Builder for the error state.
final
- grantingRightsBuilder → WidgetBuilder?
-
Builder for the granting rights state.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- intialBuilder → WidgetBuilder
-
Builder for the initial state.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- missingRightsBuilder → WidgetBuilder?
-
Builder for the missing rights state.
final
- onAlternativeAction → FastOperationStatusChanged?
-
Callback for when the alternative action button is tapped.
final
- onCancel → FastOperationStatusChanged?
-
Callback for when the cancel button is tapped.
final
- onCreateOperation → FutureBoolCallback
-
Callback to create an operation.
final
- onGetAlternativeText → String? Function(FastOperationStatus)?
-
Function to retrieve alternative text based on operation status.
final
- onGetCancelText → String? Function(FastOperationStatus)?
-
Function to retrieve cancel text based on operation status.
final
- onGetTitleText → String? Function(FastOperationStatus)?
-
Function to retrieve title text based on operation status.
final
- onGetValidText → String? Function(FastOperationStatus)?
-
Function to retrieve valid text based on operation status.
final
- onGrantRights → FutureBoolCallback?
-
Callback to grant rights.
final
- onOperationStatusChanged → FastOperationStatusChanged?
-
Callback triggered when the operation status changes.
final
- onValid → FastOperationStatusChanged?
-
Callback for when the valid button is tapped.
final
- onVerifyRights → FutureBoolCallback?
-
Callback to verify rights.
final
- operationFailedBuilder → WidgetBuilder?
-
Builder for the operation failed state.
final
- operationInProgressBuilder → WidgetBuilder?
-
Builder for the operation in progress state.
final
- operationSucceededBuilder → WidgetBuilder?
-
Builder for the operation succeeded state.
final
- rewardedAdBloc → FastRewardedAdBloc
-
final
- rightsDeniedBuillder → WidgetBuilder?
-
Builder for the rights denied state.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verifyingRightsBuilder → WidgetBuilder?
-
Builder for the verifying rights state.
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
buildError(
dynamic context, dynamic error) → Widget -
buildOperationFailed(
BuildContext context) → Widget -
buildOperationSucceeded(
BuildContext context) → Widget -
buildRightsDenied(
BuildContext context) → Widget -
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
-
handleGrantRights(
) → Future< bool> -
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
Static Methods
-
handleTitleChange(
FastOperationStatus status) → String? -
handleValidTextChange(
FastOperationStatus status) → String?