A Custom 3D Button in Flutter

Clicky Button for flutter

logo

A Custom 3D Button in Flutter

Demo

demo

How To Use it

import 'clicky_button/clicky_button.dart'

...
ClickyButton(
    child: Text(
    'Click Me!',
    style: TextStyle(
        color: Colors.white,
        fontSize: 22),
    ),
    color: Colors.green,
    onPressed: () {},
)
...

To change size of button just wrap button in Transform.scale()

import 'clicky_button/clicky_button.dart'

...
Transform.scale(
    scale: 0.6,
    child: ClickyButton(
            child: Text(
            'Click Me!',
            style: TextStyle(
                color: Colors.white,
                fontSize: 22),
            ),
            color: Colors.green,
            onPressed: () {},
        ),
)
...

Download Details:

Author: raj457036

GitHub: https://github.com/raj457036/Flutter-Clicky-Button

Thank you

#dart #flutter #3d button

A Custom 3D Button in Flutter
36.75 GEEK