flutter_main_button 1.1.0
flutter_main_button: ^1.1.0 copied to clipboard
A versatile Flutter button widget supporting single and dual-button layouts with loading states, icons, and extensive customization options.
1.0.0 - 2025-02-12 #
Added #
- Initial release of flutter_main_button package
MainButtonwidget for single button layoutMainButton.dualconstructor for side-by-side dual button layout- Loading state support with automatic spinner
- Prefix and suffix icon support
- Comprehensive customization options:
- Custom colors (background, text, icons)
- Border radius and border styling
- Padding and spacing control
- Font size and weight
- Icon sizing
- Disabled state handling
- Proper text overflow handling
- Full documentation with examples
- Example app demonstrating all features
- Unit tests for core functionality
Features #
- Platform-agnostic Material Design button
- Works with all state management solutions
- Null-safe implementation
- Strongly typed parameters
- InkWell ripple effect on tap
- Automatic opacity adjustment for disabled state
- Flexible width control (single layout)
- Configurable button spacing (dual layout)