Untitled
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('Transparent Background'), ), body: Container( color: Colors.transparent, // Set the background color to transparent child: Center( child: Text( 'Hello, World!', style: TextStyle(fontSize: 24, color: Colors.black), ), ), ), ), ); } }