CustomPrompt class
Constructors
- CustomPrompt({Icon? icon, required BuildContext context, required Type type, int animDuration = 500, bool transparent = false, Color? color, String? title, Text? btnOneText, Text? btnTwoText, Color? btnOneColor, Color? btnTwoColor, String? inputHint = 'Enter your email...', String? content, Curve curve = Curves.bounceOut, String? okayBtnText, String? cancelBtnText, Function? btnOneOnClick, Function? btnTwoOnClick})
- {@tool snippet} Typically, custom_prompt will be used, as follows:
Properties
- animDuration ↔ int
-
getter/setter pair
- btnOneColor ↔ Color?
-
getter/setter pair
- btnOneOnClick ↔ Function?
-
getter/setter pair
- btnOneText ↔ Text?
-
getter/setter pair
- btnTwoColor ↔ Color?
-
getter/setter pair
- btnTwoOnClick ↔ Function?
-
getter/setter pair
- btnTwoText ↔ Text?
-
getter/setter pair
- cancelBtnText ↔ String?
-
getter/setter pair
- color ↔ Color?
-
getter/setter pair
- content ↔ String?
-
getter/setter pair
- context ↔ BuildContext
-
getter/setter pair
- curve ↔ Curve
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon ↔ Icon?
-
getter/setter pair
- inputHint ↔ String?
-
getter/setter pair
- okayBtnText ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String?
-
getter/setter pair
- transparent ↔ bool
-
getter/setter pair
- type ↔ Type
-
getter/setter pair
Methods
-
alert(
) → dynamic -
confirm(
) → Widget -
dialog(
{Type? type}) → dynamic -
error(
) → Widget -
input(
) → Widget -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
success(
) → Widget -
toString(
) → String -
A string representation of this object.
inherited
-
warning(
) → Widget
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited