import 'package:flutter/material.dart'; void main(){ var app = MaterialApp( home: Scaffold( appBar: AppBar( title: Text("Let's see Image"), ), floatingActionButton: FloatingActionButton( child: Icon(Icons.add), onPressed: (){ print('Hi Floating Action Button'); }, ), ) ); runApp(app); }
No comments:
Post a Comment