beauton 1.0.1
beauton: ^1.0.1 copied to clipboard
A beautiful, customizable button widget for Flutter.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:beauton/beauton.dart'; // this is correct
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Center(
child: Beauton(
height: 50,
width: 200,
color: Colors.teal,
onTap: () => print('Tapped'),
child: const Text("Tap Me", style: TextStyle(color: Colors.white)),
),
),
),
);
}
}