FLToast class

Constructors

FLToast()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

error({required String text}) → void
info({required String text}) → void
loading({required String text}) Function
show({required String text, FLToastContentBuilder? contentBuilder}) Function
showError({required String text, Duration? showDuration, FLToastPosition? position, FLToastStyle? style, VoidCallback? onDismissed}) → void
showInfo({required String text, Duration? showDuration, FLToastPosition? position, FLToastStyle? style, VoidCallback? onDismissed}) → void
showLoading({required String text, FLToastPosition? position, FLToastStyle? style}) Function
showSuccess({required String text, Duration? showDuration, FLToastPosition? position, FLToastStyle? style, VoidCallback? onDismissed}) → void
showText({required String text, Duration? showDuration, FLToastPosition? position, FLToastStyle? style, VoidCallback? onDismissed}) → void
showToast({required String text, FLToastContentBuilder? contentBuilder, Duration? duration, FLToastPosition? position, FLToastStyle? style}) Function
success({required String text}) → void
text({required String text}) → void