enhanced_button 0.1.0 enhanced_button: ^0.1.0 copied to clipboard
A wrapper of ElevatedButton to support gradient background and transform and image background.
EnhancedButton #
A wrapper of ElevatedButton to support gradient background and transform and image background.
Features #
- ✅ Gradient background
- ✅ DecorationImage background
- ✅ Transform
- ✅ Custom Duration
- ✅ Custom Curve
Preview #
EnhancedButton | |
---|---|
Getting started #
flutter pub add enhanced_button
Usage #
EnhancedButton(
onPressed: () {},
enhancedStyle: EnhancedButtonStyle(
gradient: MaterialStateProperty.all(const LinearGradient(
colors: [Colors.blue, Colors.red])),
),
child: const Text('Button'),
);
More usage see /example
folder.