rounded_button 1.0.3 copy "rounded_button: ^1.0.3" to clipboard
rounded_button: ^1.0.3 copied to clipboard

Easy to use Pre-made Rounded Buttons with advanced features for Flutter.

example/lib/main.dart

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

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

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  final Color primaryColor = Color(0xFFAC00FF);
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        scaffoldBackgroundColor: Colors.black,
      ),
      home: SafeArea(
        child: Scaffold(
          body: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              // Rounded Button
              RoundedButton(
                primaryColor: primaryColor,
                text: 'RoundedButton',
                onPressed: () {},
              ),
              SizedBox(
                height: 20,
              ),
              RoundedButton(
                primaryColor: primaryColor,
                borderRadius: BorderRadius.circular(10.0),
                text: 'RoundedButton',
                onPressed: () {},
              ),
              SizedBox(
                height: 20,
              ),
              RoundedButton(
                primaryColor: primaryColor,
                text: 'RoundedButton',
                onPressed: () {},
                icon: Icon(
                  Icons.access_alarm_rounded,
                ),
              ),
              SizedBox(
                height: 20,
              ),
              RoundedButton(
                primaryColor: primaryColor,
                borderRadius: BorderRadius.circular(10.0),
                text: 'RoundedButton',
                onPressed: () {},
                icon: Icon(
                  Icons.remove_red_eye_rounded,
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
4
likes
40
pub points
7%
popularity

Publisher

verified publisherrrad.dev

Easy to use Pre-made Rounded Buttons with advanced features for Flutter.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on rounded_button