s_button 1.1.0 copy "s_button: ^1.1.0" to clipboard
s_button: ^1.1.0 copied to clipboard

A customizable button widget that supports various interactions and visual effects.

1.1.0 #

  • s_ink_button package dependency updated --> now s_button accepts hitTestBehavior to determines whether the button responds to touch events and how it interacts with other widgets in the hit test hierarchy.

1.0.3 #

  • removed the class Box - used SizedBox widget instead

1.0.2 #

  • Version 1.0.2

1.0.1 #

*GIF demo added to README

1.0.0 #

Initial Release #

Features:

  • Customizable button widget with flexible styling and interactions
  • Splash effects with configurable color and opacity
  • Bounce animation support with adjustable scale
  • Bubble label tooltips for enhanced user feedback
  • Multiple interaction modes:
    • Single tap with offset detection
    • Double tap support
    • Long press with start/end callbacks
  • Shape customization:
    • Circle or rectangle button shapes
    • Custom border radius support
  • Visual feedback:
    • Haptic feedback with multiple feedback types
    • Loading state management
    • Error handling with custom error builder
    • Button selected color overlay
  • Advanced features:
    • Delayed widget initialization
    • Custom hit test behavior configuration
    • Tooltip support
    • Active/inactive state management
    • Rich animation controls
  • Comprehensive dependency support:
    • Flutter animations via flutter_animate
    • Custom tween animations via soundsliced_tween_animation_builder
    • Bubble labels via bubble_label
    • Circular progress indicators via ticker_free_circular_progress_indicator
    • Advanced ink button effects via s_ink_button
    • Dart extensions via soundsliced_dart_extensions

Documentation: #

  • Full API documentation with inline comments
  • Example Flutter application with basic and advanced usage
  • Comprehensive unit tests for all features
  • README with usage examples and feature descriptions
0
likes
160
points
262
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable button widget that supports various interactions and visual effects.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

bubble_label, flutter, flutter_animate, s_disabled, s_ink_button, soundsliced_dart_extensions, soundsliced_tween_animation_builder, ticker_free_circular_progress_indicator

More

Packages that depend on s_button