Skip to content

Commit

Permalink
lesson-5
Browse files Browse the repository at this point in the history
  • Loading branch information
iamshaunjp committed Aug 14, 2019
1 parent 47d00cf commit dd1932f
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion myapp/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
import 'package:flutter/material.dart';

void main() => runApp(MaterialApp(
home: Text('hey ninjas!!')
home: Scaffold(
appBar: AppBar(
title: Text('my first app'),
centerTitle: true,
),
body: Center(
child: Text('hello, ninjas!'),
),
floatingActionButton: FloatingActionButton(
child: Text('click'),
),
),
));


1 comment on commit dd1932f

@Blackie360
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the click action button doesn't work on mine

Please sign in to comment.