Search packages, repositories and app categories

nice_buttons cover
Package detailsv0.0.3

nice_buttons

A beautiful, animated, and customizable 3D button for your flutter project with a built-in progress indicator and nice on press animations.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
90
Likes
64
Pub points
155

Install package

flutter pub add nice_buttons

Package Overview

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

Nice Buttons is a Flutter package that provides visually appealing, animated 3D buttons with smooth press animations and an integrated progress indicator. Designed for modern app interfaces, it enhances user interaction with dynamic feedback and customizable styling. The button supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux, making it ideal for cross-platform projects. With intuitive customization options, developers can easily adjust colors, shadows, and animation behaviors to match their app’s design language.

Use cases

  • Enhancing UI with interactive 3D buttons
  • Displaying loading states with built-in progress
  • Creating engaging call-to-action elements
  • Improving user feedback in forms and actions
  • Adding polished touches to mobile and web apps

Key features

  • 3D animated button effects
  • Built-in progress indicator
  • Customizable appearance and behavior
  • Smooth on-press animations
  • Cross-platform compatibility
  • Easy integration via pub.dev

Suitable for

  • Flutter developers seeking attractive UI components
  • Projects requiring visual feedback during interactions
  • Apps aiming for modern, polished designs
  • Developers focused on user experience enhancement
  • Teams building multi-platform applications

Considerations

  • May require performance tuning on low-end devices
  • Customization options might increase bundle size slightly
  • Animation complexity could affect responsiveness if overused
  • Best suited for buttons with clear, single actions
  • Not recommended for simple static buttons without animation needs

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

nice_buttons

nice_buttons a beautiful, animated, and customizable 3D button for your flutter project.

Platform Support
Android iOS Web MacOS Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

Sample Image

Installation

Add it as a dependency in their pubspec.yaml:

dependencies:
  nice_buttons: ^0.0.3
Customizations
Attribute Type Default Description
startColor Color 0xFF2ec8ff The gradient start color
endColor Color 0xFF529fff The gradient end color
borderColor Color 0xFF3489e9 The color of the 3D border.
progressColor Color white The color of circular progress indicator, defaults to white
progressSize Double 20 The size of progress indicator circle, defaults to 20
gradientOrientation GradientOrientation Horizontal Orientation of the gradient defaults to Horizontal
borderThickness Double 5 The thickness of the 3D border, defaults to 5
height Double 60 Height of the button, defaults to 60
width Double 200 Width of the button defaults to 200, its useless if the stretch property is set to true
stretch bool true Whether to occupy the full available space in the parent, defaults to true
borderRadius Double 20 The border radius of the button, defaults to 20
progress bool false Whether the progress indicator is required or not, defaults to false
disabled bool false Disables the button, defaults to false
onTap Function(void Function() finish) Button tap handler with finish callback to reset the state of progress and animation when called, required*
child Widget Inner content for the button, required*
Usage
...
import 'package:nice_buttons/nice_buttons.dart';
...
NiceButtons(
  stretch: true,
  gradientOrientation: GradientOrientation.Horizontal,
  onTap: (finish) {
    print('On tap called');
  },
  child: Text(
    'Full Width',
    style: TextStyle(color: Colors.white, fontSize: 18),
  ),
);

Check example folder for more examples.

Categories

Source repository

Projects using this package

No data available yet.