todos-contra-el-fuego-mobile/lib/sandbox.dart
Vicente J. Ruiz Jurado 8926fc20d9 Fire notification map
2018-07-26 22:32:30 +02:00

40 lines
1.2 KiB
Dart

import 'package:flutter/material.dart';
/*
Useful for debug
import 'package:fluttery/framing.dart';
new RandomColorBlock( child
*/
class Sandbox extends StatelessWidget {
static const String routeName = '/sandbox';
@override
Widget build(BuildContext context) {
//showDialog(context: context, child: builder(context));
return Scaffold(
appBar: new AppBar(
title: new TextField(
autofocus: true,
controller: new TextEditingController(text: "kk"),
decoration: new InputDecoration(),
onSubmitted: (todoText) {},
)),
body: new RaisedButton(
child: new Text('Press'),
onPressed: () {
showDialog(
context: context,
builder: (context) {
return new SimpleDialog(
title: new Text('title'),
children: <Widget>[
new Padding(
padding: const EdgeInsets.only(left: 16.0),
child: new Text('hhh'),
),
]);
});
}));
}
}