import

'package:flutter/material.dart'

void

main

()

runApp

Foo

());

class

Foo

extends

StatelessWidget

@override

Widget

build

BuildContext

context

return

MaterialApp

home:

Scaffold

floatingActionButton:

FloatingActionButton

onPressed:

()

showDialog

context:

context

builder:

BuildContext

context

return

AlertDialog

content:

Text

'Alert!'