-
Notifications
You must be signed in to change notification settings - Fork 2
/
_example_13.dart
40 lines (37 loc) · 1.12 KB
/
_example_13.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Detroit Tech Watch',
home: Scaffold(
appBar: AppBar(
title: Text('Detroit Tech Watch'),
),
body: Stack(
children: <Widget>[
ListView(
children: <Widget>[
Card(
margin: EdgeInsets.all(8),
child: Column(
children: <Widget>[
Image.asset('assets/dtw.png'),
Padding(
padding: const EdgeInsets.all(8),
),
Text('Detroit Tech Watch')
],
),
),
],
),
FloatingActionButton(
child: const Icon(Icons.add),
onPressed: () {},
)
],
)));
}
}