SPFeedbackStyle class

Controls the visual appearance of transient feedback messages.

Annotations

Constructors

SPFeedbackStyle({SnackBarBehavior behavior = SnackBarBehavior.floating, bool showCloseIcon = true, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, double? width, double? elevation})
Creates a feedback style.
const

Properties

behavior → SnackBarBehavior
How a message is positioned by ScaffoldMessenger.
final
elevation → double?
Optional material elevation.
final
hashCode → int
The hash code for this object.
no setterinherited
margin → EdgeInsetsGeometry?
Optional outer margin used by floating snack bars.
final
padding → EdgeInsetsGeometry?
Optional content padding.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showCloseIcon → bool
Whether a close icon is shown on the message.
final
width → double?
Optional fixed width for floating snack bars.
final

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