Pakete, Repositories und App-Kategorien suchen

GitHub-Repositorysil-main-coo/overflow_text_animated

overflow_text_animated

sil-main-coo/overflow_text_animated open-source repository details.

Projektcover von overflow_text_animated
Sterne
7
Forks
6
Letzter Push (UTC)
10.09.2024
Projektstatus
Aktiv

Original-README

Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.

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
2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get
3. Import it

Now in your Dart code, you can use:

import 'package:overflow_text_animated/overflow_text_animated.dart';

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),
)

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.

Trương Việt Hoàng GitHub avatar
GitHub-Autor

Trương Việt Hoàng ↗

android, flutter, c, java

SprachenDartHTMLRubySwiftKotlinObjective-C

Von diesem Repository veröffentlichte Pakete

Verwendete Abhängigkeiten

Abhängigkeiten 3 Einträge

  • flutter{"sdk":"flutter"}
  • flutter_testEntwicklung{"sdk":"flutter"}
  • flutter_lintsEntwicklung^2.0.0

Wie wähle ich ein passendes Repository?

Nach Anwendungsfall filtern, Aktivität vergleichen und vor der Nutzung das Originalprojekt prüfen.

  1. Nach Name, Autor oder Beschreibung suchen und nach Thema eingrenzen.
  2. Sterne, Forks und letzte Pushes vergleichen. Sterne zeigen Interesse, garantieren aber keine Qualität.
  3. Vor der Nutzung README, Lizenz und Issues auf GitHub prüfen.

Quellen und Pflege

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗