activity_button 1.0.2 copy "activity_button: ^1.0.2" to clipboard
activity_button: ^1.0.2 copied to clipboard

A package for creating activity buttons with image and text.

Activity Button #

A customizable widget for creating activity buttons with an image and text.

Features #

  • Displays an image and text.
  • Supports onTap callback.
  • Customizable with width and height ratios.

Getting started #

To use this package, add activity_button as a dependency in your pubspec.yaml file. You can then import the package in your Dart code and use the ActivityButton widget.

Usage #

Example Usage Here's an example of how to use the ActivityButton widget:

ActivityButton(
  title: 'Sample Activity',
  imagePath: 'assets/images/sample_activity.png',
  onTap: () {
    // Handle button tap event
  },
)
2
likes
140
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

A package for creating activity buttons with image and text.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on activity_button