Many work in navegation, map, drawer, about, slider
This commit is contained in:
parent
662deb3086
commit
574c1afc33
15 changed files with 446 additions and 168 deletions
|
|
@ -13,13 +13,25 @@ class Sandbox extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
//showDialog(context: context, child: builder(context));
|
||||
//showDialog(context: context, child: builder(context));
|
||||
return Scaffold(
|
||||
body: new CenteredColumn(
|
||||
children: <Widget>[
|
||||
new FireDistanceSlider()
|
||||
|
||||
],
|
||||
body: LayoutBuilder(
|
||||
builder: (context, constraints) =>
|
||||
Stack(fit: StackFit.expand, children: <Widget>[
|
||||
// Material(color: Colors.yellowAccent),
|
||||
Positioned(
|
||||
top: 0.0,
|
||||
child: Icon(Icons.star, size: 40.0),
|
||||
),
|
||||
Positioned(
|
||||
top: constraints.maxHeight - 80,
|
||||
right: 10.0,
|
||||
left: 10.0,
|
||||
child: new CenteredRow(
|
||||
children: <Widget>[new FireDistanceSlider()],
|
||||
),
|
||||
)
|
||||
]),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue