This the blog to wish one another joy and love and peace. These are my wishes for you, Merry Christmas our dear friends, may you feel the love this special day.


import 'package:flutter/material.dart';


void main() {
runApp(MyApp());
}

class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text('Merry Christmas Tree'),
backgroundColor: Colors.cyan,
),
body: Center(
child: ChristmasTree(),
),
),
);
}
}

class ChristmasTree extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
SizedBox(height: 20.0),
Text(
'Happy Merry Christmas',
style: TextStyle(
fontSize: 28.0,
fontWeight: FontWeight.bold,
foreground: Paint()
..style = PaintingStyle.stroke
..strokeWidth = 2
..color = Colors.red,
),
),

for (int i = 0; i < 7; i++)
Padding(
padding: EdgeInsets.symmetric(horizontal: 5.0),
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
for (int j = 0; j < i * 2 + 1; j++)
Icon(
Icons.star,
color: Colors.green,
size: 24.0,
),
],
),
),
SizedBox(height: 20.0),
Container(
width: 40.0,
height: 100.0,
decoration: BoxDecoration(
color: Colors.brown,
borderRadius: BorderRadius.circular(10.0),
),
),
],
);
}
}