EmptyViewMessage class
A model class depicting the config for EmptyView.
Constructors
- EmptyViewMessage({required String description, String? illustrationPath, TextStyle? descriptionStyle, String? actionTitle, VoidCallback? onAction, Size? illustrationSize})
-
const
Properties
- actionTitle → String?
-
A String variable for setting the title for the action
widget.
final
- description → String
-
A String variable depicting the message to be shown
on EmptyView.
final
- descriptionStyle → TextStyle?
-
A TextStyle variable specifying the styling for the
description.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- illustrationPath → String?
-
A String variable depicting the path to be used for the
illustration widget of EmptyView.
final
- illustrationSize → Size?
-
A Size variable defining the height and width to be used
for the illustration widget of EmptyView.
final
- onAction → VoidCallback?
-
A function which infers to what should be done when the
actionis clicked/tapped.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited