Search packages, repositories and app categories

Package detailsv0.1.7

nice_button

A Flutter package for Android and IOS to design nice buttons with no hassle in your app. Enjoy !

30-day downloads
81
Likes
63
Pub points
40

Install package

flutter pub add nice_button

Package Overview

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

Nice_Button is a Flutter package designed to simplify the creation of visually appealing buttons for both Android and iOS. It offers an easy-to-use interface for designing attractive, customizable buttons without requiring extensive coding. With built-in animations and styling options, developers can enhance app UIs quickly and efficiently. The package supports smooth transitions and modern button designs, making it ideal for apps aiming for a polished look. It’s particularly useful for projects where rapid prototyping or consistent button aesthetics are important.

Use cases

  • Creating animated buttons in mobile apps
  • Enhancing UI with stylish button designs
  • Rapid prototyping of interactive interfaces
  • Improving user engagement through visual feedback
  • Adding consistent button styles across platforms

Key features

  • Pre-built beautiful button templates
  • Smooth animation effects
  • Cross-platform compatibility (Android & iOS)
  • Easy customization via properties
  • Minimal setup required

Suitable for

  • Beginner Flutter developers
  • UI-focused app projects
  • Apps needing consistent button styling
  • Prototypes requiring fast UI development
  • Projects emphasizing visual appeal

Considerations

  • Limited to button-specific functionality
  • No support for advanced gesture interactions
  • Depends on external design choices
  • May require additional styling for complex use cases
  • Not suitable for non-button UI components

Original README

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

nice_button

pub package Donate

A Flutter package for Android and IOS to design nice buttons with no hassle in your app. Enjoy !

Installation

Add the following to pubspec.yaml

dependencies:
  ...
  nice_button: ^0.1.7

Usage Example

import nice_button.dart

import 'package:nice_button/nice_button.dart';
For normal buttons
NiceButton(
    width: 255,
    elevation: 8.0,
    radius: 52.0,
    text: "Login",
    background: yourColor,
    onPressed: () {
        print("hello");
        },
    ),
For mini buttons

Icon is required in this case

NiceButton(
    mini: true,
    icon: Icons.home,
    background: yourColor,
    onPressed: () {
        print("hello");
    },
    )
For gradient buttons
var firstColor = Color(0xff5b86e5), secondColor = Color(0xff36d1dc);

NiceButton(
    radius: 40,
    padding: const EdgeInsets.all(15),
    text: "Register",
    icon: Icons.account_box,
    gradientColors: [secondColor, firstColor],
    onPressed: () {},
    )

Package demo

Refer to example folder and the source code for more information.

Categories

Source repository

Projects using this package

No data available yet.