import 'package:flutter/material.dart'; void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: MyHomePage(), ); } } class MyHomePage extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text('Flutter Desktop App'), ), body: Container( color: Colors.green, // Set background color to green child: Center( child: Text( 'Hello, Desktop!', style: TextStyle(fontSize: 24.0), ), ), ), ); } }