aagarwal1012 / aagarwal1012/Animated-Text-Kit

TextLiquidFill background text color from TextStyle color attribute

Open
#301 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
1.8k
Forks
321
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
The text background color is inherited from the container that contains the TextLiquidFill.
It cause problem in nested container or widget.

**Describe the solution you'd like**
It would be convenient to have this settings directly on the TextLiquidFill widget, or retrieve it from the TextStyle.color attribute.

**Describe alternatives you've considered**
I didn't find any solution or workaround to make it work in my current use case.

Contributor guide

Open the contributing guide

Research direction

Look for the TextLiquidFill widget in the codebase, likely in the lib/ directory. Examine how the background color is currently set from the parent container. The goal is to modify the widget to accept a background color parameter or read it from the TextStyle.color property. Check existing tests for TextLiquidFill to understand the expected behavior and add a test for the new feature.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
frontend, mobile
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.