flutter_main_button 1.1.0 copy "flutter_main_button: ^1.1.0" to clipboard
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
  • MainButton widget for single button layout
  • MainButton.dual constructor 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)

1.1.0 - 2025-02-19 #

Added #

  • Comprehensive customization options:
    • Custom shape
    • Custom prefix and sufix icons
    • Custom background image
    • Custom gradient
    • Custom shadow
    • Custom child widget
3
likes
150
points
123
downloads

Publisher

verified publisherdhananjayafernando.online

Weekly Downloads

A versatile Flutter button widget supporting single and dual-button layouts with loading states, icons, and extensive customization options.

Topics

#button #widget #ui #material-design #customizable

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_main_button