FLUTTER ECOSYSTEM

future_button

Customizable Material and Cupertino buttons with progress bars. Useful if you want to show a loading indicator when user presses some action, and show the result afterwards.

Latest version
0.1.2
30-day downloads
36
Likes
39
Pub points
40

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A customizable button package for Flutter that supports both Material and Cupertino designs, featuring built-in progress indicators. It enables developers to display a loading state when a user taps a button, ideal for actions like form submissions or API calls. After the async operation completes, it can show success or error states with custom messages. The package simplifies handling asynchronous operations within buttons without requiring manual state management. It integrates seamlessly into existing UIs and enhances user feedback during waits.

Use cases

  • Form submission with loading states
  • API call execution with visual feedback
  • User authentication flows
  • Progress tracking in interactive buttons
  • Error handling after async operations

Key features

  • Built-in loading indicator
  • Support for Material and Cupertino styles
  • Customizable success and error states
  • Automatic state management
  • Easy integration with async functions
  • Configurable text and colors

Suitable for

  • Developers building forms with async actions
  • Apps needing clear user feedback during waits
  • Teams using Material/Cupertino design systems
  • Projects wanting minimal boilerplate for loading buttons
  • UX-focused applications

Considerations

  • Does not support non-async button actions
  • Limited customization beyond styling and states
  • No built-in retry mechanism for failed operations
  • Requires manual handling of complex error scenarios
Supported platformsNot available

Install package

flutter pub add future_button

Categories

Source repository

Projects using this package

No data available yet.