Closed KingWu closed 4 years ago
got the same problem. Try it with:
increaseWidthBy: double.infinity
GradientButton(
child: Text('Anmelden'),
callback: () {},
gradient: Gradients.backToFuture,
shadowColor: Gradients.backToFuture.colors.last
.withOpacity(0.25),
increaseWidthBy: double.infinity,
),
@KingWu I hope @ecoparts provided a solution to your problem.
facing same problem
I built a horizontal list. When the button is disabled, i use outline button. When the button is enabled, i use gradient button.
But, i found that the gradient button has limit width. How to set it to support dynamic width?