Last updated:
0 purchases
overflow text animated
A plugin that displays overflowed text in a different way:
Installing #
1. Depend on it #
Add this to your package's pubspec.yaml file:
dependencies:
overflow_text_animated: ^0.0.6
copied to clipboard
2. Install it #
You can install packages from the command line:
with pub:
$ pub get
copied to clipboard
with Flutter:
$ flutter pub get
copied to clipboard
3. Import it #
Now in your Dart code, you can use:
import 'package:overflow_text_animated/overflow_text_animated.dart';
copied to clipboard
Usage #
OverflowTextAnimated is a Stateful Widget.
Include it in your build method like:
OverflowTextAnimated(
text: overflowText,
style: descriptionStyle,
curve: Curves.fastEaseInToSlowEaseOut,
animation: OverFlowTextAnimations.scrollOpposite,
animateDuration: Duration(milliseconds: 1500),
delay: Duration(milliseconds: 500),
)
copied to clipboard
OverflowTextAnimated is used as default text widget. It has many configurable properties, including:
text - required properties
style – style of text
curve – motion curves of animation effects
animation - animation type
animateDuration – is the duration of the animation
delay – is the break time between 2 animations
Note: Widget is only available when its parent has a specified width.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.