dart format
This commit is contained in:
@@ -4,7 +4,12 @@ class PlaceholderView extends StatelessWidget {
|
||||
final IconData icon;
|
||||
final String text;
|
||||
final Widget? button;
|
||||
const PlaceholderView({super.key, required this.icon, required this.text, this.button});
|
||||
const PlaceholderView({
|
||||
super.key,
|
||||
required this.icon,
|
||||
required this.text,
|
||||
this.button,
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => Scaffold(
|
||||
@@ -19,7 +24,7 @@ class PlaceholderView extends StatelessWidget {
|
||||
),
|
||||
Text(
|
||||
text,
|
||||
style: const TextStyle(fontSize: 20,),
|
||||
style: const TextStyle(fontSize: 20),
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
const SizedBox(height: 30),
|
||||
|
||||
Reference in New Issue
Block a user