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

A customizable Flutter button widget with built-in support for popular auth provider logos and flexible styling options.

example/lib/main.dart

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

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Styled Button',
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Padding(
          padding: const EdgeInsets.all(15.0),
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            crossAxisAlignment: CrossAxisAlignment.center,
            children: [
              Center(
                child: StyledButton(
                  text: 'Facebook',
                  submit: () {},
                  provider: AuthButtonProvider.facebook,
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
6
likes
160
points
71
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable Flutter button widget with built-in support for popular auth provider logos and flexible styling options.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on styled_button