UIProConfig class
Configuration class for global UI Pro settings.
Use this to configure package-wide behavior that isn't theme-related.
Example:
UIProConfig(
enableHapticFeedback: true,
defaultLoadingDelay: Duration(milliseconds: 500),
)
Constructors
Properties
- animationDurationOverride → Duration?
-
Default animation duration override.
final
- debugShowBorders → bool
-
Whether to show debug borders on widgets.
final
- defaultLoadingDelay → Duration
-
Default delay before showing loading states.
final
- enableHapticFeedback → bool
-
Whether to enable haptic feedback on interactions.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- respectAccessibility → bool
-
Whether to respect system accessibility settings.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{bool? enableHapticFeedback, Duration? defaultLoadingDelay, bool? debugShowBorders, Duration? animationDurationOverride, bool? respectAccessibility}) → UIProConfig - Creates a copy with the given fields replaced.
-
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
Constants
- defaults → const UIProConfig
- Default configuration.