AnimatedOutlineStyles class
- Annotations
Constructors
-
AnimatedOutlineStyles.new({ShapeBorder? shape = const StadiumBorder(), Color borderColor = Colors.blue, double borderWidth = 2.0, EdgeInsetsGeometry? contentPadding, Color? backgroundColor, Size? maxSize, Size? minSize, List<
Color> ? animationColors, Duration animationDuration = const Duration(seconds: 2), AnimationDirection animationDirection = AnimationDirection.ltr, double glowBlurRadius = 1.0}) -
AnimatedOutline Button Styles
const
Properties
-
animationColors
→ List<
Color> ? -
Colors to be animated along the border path.
If null, a default gradient will be used.
final
- animationDirection → AnimationDirection
-
Direction in which the animation flows.
final
- animationDuration → Duration
-
Duration for one complete animation cycle.
final
- backgroundColor → Color?
-
Background fill color inside the border.
final
- borderColor → Color
-
The border color.
final
- borderWidth → double
-
The thickness of the border.
final
- contentPadding → EdgeInsetsGeometry?
-
Padding inside the border for the child and loading widget.
final
- glowBlurRadius → double
-
How much blur is applied to the animated glow effect.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxSize → Size?
-
Maximum size of the outlined button.
final
- minSize → Size?
-
Minimum size of the outlined button.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → ShapeBorder?
-
The shape of the button border and outline.
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