Package selection guidance compiled from public package information, community data, and project usage.
A customizable Flutter button featuring a gradient background, designed to enhance UI aesthetics. It extends the standard ElevatedButton with smooth gradient fills, shadow effects, and responsive feedback. Ideal for modern app interfaces requiring visually engaging buttons without sacrificing functionality. The package supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux, ensuring consistent appearance across devices.
Use cases
Creating eye-catching call-to-action buttons
Enhancing login or signup screens
Designing modern mobile and web interfaces
Adding visual flair to forms and dashboards
Improving user engagement through dynamic visuals
Key features
Gradient background support
Built-in elevation and shadow effects
Customizable colors and stops
Responsive touch feedback
Cross-platform compatibility
Simple integration with existing Flutter code
Suitable for
UI designers seeking visual polish
Developers building modern apps
Projects emphasizing aesthetic appeal
Apps targeting multiple platforms
Teams using Flutter for full-stack development
Considerations
May require additional styling for accessibility
Performance impact on complex gradients
Limited customization beyond gradient and elevation
Not suitable for minimalistic design patterns
Best used with contrasting text for readability
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
GradientElevatedButton
A customizable elevated button with gradient support for your Flutter applications. This package allows you to create buttons with gradient backgrounds, custom foreground colors, and various other customizable properties using the GradientElevatedButton widget.
Features
Gradient Background: Easily apply gradients to your button backgrounds.
Customizable Style: Customize text color, shape, padding, and more.
Integration with Theme: Use GradientButtonThemeExtension (via ThemeExtension) to apply a consistent style across your app. (Old: GradientButtonThemeData is deprecated)
Alternatively, you can style the GradientElevatedButton directly using GradientElevatedButton.styleFrom to define the button's gradient, shape, and other properties: