FLUTTER ECOSYSTEM

rounded_background_text

Text, TextField and TextSpan highlighted with rounded corners

rounded_background_text cover
Latest version
0.6.0
30-day downloads
2.6K
Likes
100
Pub points
150

Package Overview

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

Overview

A Flutter package that adds rounded corner backgrounds to text elements, including Text, TextField, and TextSpan. It enables visually appealing text highlighting with customizable colors, border radii, and padding. Ideal for creating modern UIs with emphasis on text readability and design flair. The package supports all major platforms—Android, iOS, Web, macOS, Windows, and Linux—ensuring consistent styling across devices. Simple integration via a single pub add command makes it accessible for developers seeking elegant text effects without complex custom painting.

Use cases
  • Highlighting key text in apps
  • Creating styled input fields
  • Adding visual emphasis to labels
  • Designing modern UI components
  • Enhancing accessibility through contrast
  • Building interactive text elements
Key features
  • Rounded corner background for Text
  • Support for TextField with rounded background
  • Customizable border radius and padding
  • Compatible with TextSpan
  • Cross-platform support
  • Easy integration via pub.dev
Suitable for
  • UI designers seeking visual polish
  • Developers building modern Flutter apps
  • Apps requiring highlighted text elements
  • Projects focused on accessibility and readability
  • Teams wanting quick effect implementation
Considerations
  • May impact performance with many instances
  • Requires careful color contrast for accessibility
  • Limited to text decoration use cases
  • Not suitable for complex layouts
  • Depends on platform rendering consistency
  • Best used sparingly to avoid visual clutter
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add rounded_background_text

Categories

Source repository

Related projects