rounded_dialogs 0.0.4
rounded_dialogs: ^0.0.4 copied to clipboard
Package that provides easy access to rounded dialogs.
import 'package:flutter/material.dart';
import 'package:rounded_dialogs/rounded_dialogs.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Container(
alignment: Alignment.center,
child: ElevatedButton(
child: Text('Show Dialog'),
onPressed: () {
myRoundedDialogBox(
context: context,
child: Text("Hello"),
height: 200,
width: 200,
curveRadius: 20,
);
},
),
),
),
);
}
}