Search packages, repositories and app categories

Package detailsv1.0.4

blinking_text

A simple plugin to creating a blinking text. It allows to adjust duration of a blink and number of times text blinks before stopping.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
8.5K
Likes
31
Pub points
140

Install package

flutter pub add blinking_text

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A lightweight Flutter package that enables simple blinking text effects. It allows developers to customize the blink duration and the number of times the text blinks before stopping. Ideal for drawing attention to specific UI elements, such as alerts or notifications. The package supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux, ensuring consistent behavior across devices. It integrates easily into existing projects with minimal configuration.

Use cases

  • Highlighting important messages
  • Creating animated UI elements
  • Drawing user attention to key content
  • Adding subtle visual feedback
  • Designing interactive dashboards

Key features

  • Customizable blink duration
  • Configurable blink count
  • Cross-platform support
  • Simple API integration
  • Lightweight and efficient

Suitable for

  • UI designers seeking animation effects
  • Developers building alert systems
  • Apps requiring visual cues
  • Educational or gaming interfaces
  • Minimalist app designs

Considerations

  • May distract users if overused
  • Not suitable for accessibility-critical content
  • Blinking can trigger seizures in sensitive users
  • Limited customization beyond timing
  • Best used sparingly for optimal UX

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

blinking_text

A simple plugin to create blinking text

How to use

Properties: It supports properties of Text widget's and includes 4 more properties for animation

  • beginColor - It overrides widget TextStyle's color.
  • endColor - The color the text will blink to. If there is no endColor defined, opacity 0 is used.
  • times - Number of times text blinks.
  • duration - Interval of blinking animation.

Blink text with opacity

BlinkText('Blink Animation'),

Blink text from original color to orange indefinitely

BlinkText(
	'Blink Animation',
	style: TextStyle(fontSize: 24.0, color: Colors.redAccent),
	endColor: Colors.orange,
),

Blink text from black to orange 10 times

BlinkText(
	'Blink Animation',
	style: TextStyle(fontSize: 48.0, color: Colors.redAccent),
	beginColor: Colors.black,
	endColor: Colors.orange,
	times: 10,
	duration: Duration(seconds: 1)
),

Original Link: https://tleapps.com/blinking_text/

Categories

Source repository

Projects using this package