In my flutter project (latest version), I use a physical android device for development. But in my phone, in the flutter debug app, a semi transparent black overlay is always showing... I tried to run a new project & there also was an overlay.. I don't know if it is the issue with my flutter sdk or my device.
My Code so far
//main.dart
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Home(),
);
}
}
Other widgets
//home.main.dart
class Home extends StatefulWidget {
@override
_HomeState createState() => _HomeState();
}
class _HomeState extends State<Home> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: Colors.blue,
title: Text("SHKSC", style: TextStyle(color: Colors.indigoAccent[50])),
iconTheme: IconThemeData(color: Colors.blue, opacity: 0.7),
),
body: HomeBody(), /* Incoming from home.body */
);
}
}
The image of the running app on my physical device in Scrcpy.. ImageLink