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

This is a pre-built button with an awesome look for flutter.

example/main.dart

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

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: AwesomeButton(
          blurRadius: 10.0,
          splashColor: Color.fromRGBO(255, 255, 255, .4),
          borderRadius: BorderRadius.circular(25.0),
          height: 75.0,
          width: 200.0,
          onTap: () => print("tapped"),
          color: Colors.orangeAccent,
          child: Text(
            "Awesome Button",
            style: TextStyle(
              color: Colors.white,
              fontSize: 20.0,
            ),
          ),
        ),
      ),
    );
  }
}
18
likes
30
pub points
39%
popularity

Publisher

unverified uploader

This is a pre-built button with an awesome look for flutter.

Repository (GitHub)
View/report issues

License

LGPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on awesome_button