extended_button 0.1.0 copy "extended_button: ^0.1.0" to clipboard
extended_button: ^0.1.0 copied to clipboard

discontinued

A Flutter package to create a beautiful extended button which can expand and shrink whenever the user clicks on the button.

example/lib/main.dart

import 'package:extended_button/extended_button.dart';
import 'package:flutter/material.dart';

void main() => runApp(MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text("Extended Button Demo"),
        ),
        body: Container(
          alignment: Alignment.center,
          child: ExtendedButton(
            size: 100,
            bottomLeftIcon: Icons.shopping_cart,
            bottomRightIcon: Icons.print,
            topLeftIcon: Icons.photo,
            topRightIcon: Icons.print,
            onClickBottomLeft: () {
              print("Shopping Cart Clicked");
            },
            onClickBottomRight: () {
              print("Print Icon Clicked");
            },
            onClickTopLeft: () {
              print("Photo Icon Clicked");
            },
            onClickTopRight: () {
              print("Print Icon Clicked");
            },
          ),
        ),
      ),
    ));
6
likes
40
pub points
0%
popularity

Publisher

unverified uploader

A Flutter package to create a beautiful extended button which can expand and shrink whenever the user clicks on the button.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on extended_button