v0.0.6overflow_text_animated
텍스트 오버플로우를 애니메이션으로 처리하는 Flutter 패키지 프로젝트입니다.
sil-main-coo/overflow_text_animated open-source repository details.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A plugin that displays overflowed text in a different way:
Add this to your package's pubspec.yaml file:
dependencies:
overflow_text_animated: ^0.0.6
You can install packages from the command line:
with pub:
$ pub get
with Flutter:
$ flutter pub get
Now in your Dart code, you can use:
import 'package:overflow_text_animated/overflow_text_animated.dart';
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),
)
OverflowTextAnimated is used as default text widget. It has many configurable properties, including:
text - required propertiesstyle – style of textcurve – motion curves of animation effectsanimation - animation typeanimateDuration – is the duration of the animationdelay – is the break time between 2 animationsNote: Widget is only available when its parent has a specified width.
의존성 목록 3 개
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗