You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
449 B
20 lines
449 B
import 'package:flutter/material.dart'; |
|
|
|
class NeonDialog extends StatelessWidget { |
|
const NeonDialog({ |
|
this.title, |
|
this.children, |
|
super.key, |
|
}); |
|
|
|
final Widget? title; |
|
final List<Widget>? children; |
|
|
|
@override |
|
Widget build(final BuildContext context) => SimpleDialog( |
|
titlePadding: const EdgeInsets.all(10), |
|
contentPadding: const EdgeInsets.all(10), |
|
title: title, |
|
children: children, |
|
); |
|
}
|
|
|