INNER CODE UNIT · Dart
AlertStyleWidget
larryaasen/upgrader · lib/src/alert_style_widget.dart:7
class AlertStyleWidget extends StatelessWidget {
/// The (optional) content of the dialog is displayed in the center of the
/// dialog in a lighter font.
///
/// Typically, this is a [ListView] containing the contents of the dialog.
/// Using a [ListView] ensures that the contents can scroll if they are too
/// big to fit on the display.
final Widget content;
/// The (optional) set of actions that are displayed at the bottom of the
/// dialog.
///
/// Typically this is a list of [TextButton] widgets.
///
/// These widgets will be wrapped in a [OverflowBar], which introduces 8 pixels
/// of padding on each side.
///
/// If the [title] is not null but the [content] _is_ null, then an extra 20