Displaying "Flutter Demo" instead of App's Label Name in recent apps

Issue

My app’s label name is Inshorts Clone, but instead of showing Inshorts Clone, it is showing Flutter Demo in recent apps.
How to change ‘Flutter Demo’?

Here is a screenhot

enter image description here

Solution

In main.dart

MaterialApp(
  debugShowCheckedModeBanner: false,
  title: 'Flutter Demo', // change to Inshorts Clone

you can change name accordingly

Answered By – Hammad Ali

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published