text_hover 1.0.0+1 copy "text_hover: ^1.0.0+1" to clipboard
text_hover: ^1.0.0+1 copied to clipboard

Aesthetic text hover effect library for your apps, very simple to use.

  • A great flutter and efficacious package for an aesthetic text hover effect

Usage #

To use this package, add text_hover as a dependency in your pubspec.yaml file.

Demo #

Example #

  • Import the library
import 'package:text_hover/text_hover.dart';
  • In order to use this package, we just need to give the TextHover widget a text with a config.
  • Config is used to configure the hover effect and has duration,letterWidth, hoverColor, textColor, duration, expand properties
TextHover(
  text: 'Aesthetic',
  config: Config(
   hoverColor: Colors.orangeAccent
),
)

Documentation #

TextHover properties #

Name Type Default Description
text String required the text to apply the hover effect on
config Config required configuration of the hover effect

Now enjoy!

Refer to example folder and the source code for more information.

Acknowledgement #

  • I would like to thank David Philips Philip Davis for the inspiration for this library, which I think will be useful for Flutter community.
15
likes
120
pub points
56%
popularity

Publisher

verified publisherethieladiassa.me

Aesthetic text hover effect library for your apps, very simple to use.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on text_hover