FloatingConfig class
Constructors
- FloatingConfig({bool isGlareEnabled = true, bool isShadowEnabled = true, FloatingShadowConfig shadowConfig = const FloatingShadowConfig()})
-
Configuration for making the card float as per the movement of device or
mouse pointer.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isGlareEnabled → bool
-
Denotes whether to add a glare - a shinning effect - over the card.
final
- isShadowEnabled → bool
-
Denotes whether to add a shadow beneath the card.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadowConfig → FloatingShadowConfig
-
The configuration for adding a shadow beneath the card.
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.
override