flutter_advanced_button 1.0.2 copy "flutter_advanced_button: ^1.0.2" to clipboard
flutter_advanced_button: ^1.0.2 copied to clipboard

An advanced button widget, that can be fully customized with size, text, color, radius of corners.

example/lib/main.dart

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

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Flutter Advanced Button Example',
        theme: ThemeData(
          primarySwatch: Colors.blue,
        ),
        home: Scaffold(
          body: Column(
            mainAxisAlignment: MainAxisAlignment.spaceAround,
            children: [
              Center(
                  child: Advanced3DButton(
                      child: Text(
                        "Advanced3DButton",
                        style: TextStyle(
                            color: Colors.white,
                            fontSize: 16,
                            fontWeight: FontWeight.w600),
                      ),
                      onTap: () {
                        print("Tapped");
                      })),
              Center(
                  child: AdvancedRoundedButton(
                width: 250,
                child: Text(
                  "AdvancedRoundedButton",
                  style: TextStyle(
                      color: Colors.white,
                      fontSize: 15,
                      fontWeight: FontWeight.w600),
                ),
                onTap: () {
                  print("Tapped");
                },
                animationSpeed: 275,
              )),
              Center(
                  child: AdvancedFolidButton(
                      width: 270,
                      foldWidth: 200,
                      child: Text(
                        "AdvancedFoldingButton",
                        style: TextStyle(
                            color: Colors.white,
                            fontSize: 15,
                            fontWeight: FontWeight.w600),
                      ),
                      onTap: () {
                        print("Tapped");
                      })),
            ],
          ),
        ));
  }
}
1
likes
40
pub points
0%
popularity

Publisher

unverified uploader

An advanced button widget, that can be fully customized with size, text, color, radius of corners.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_advanced_button