import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget
{
Widget build(BuildContext context)
{
return MaterialApp
(
title: 'flutter Demo',
theme: ThemeData
(
primarySwatch: Colors.green,
),
home: Scaffold
(
body: Center
(
child: Icon(CupertinoIcons.heart_solid, size: 100, color: Colors.amber)
),
),
);
}
}