How do I set the background color of screen in Flutter  2021 ?

How do I set the background color of screen in Flutter 2021 ?

Dev.Skills

54 года назад

878 Просмотров

We are going to see how you can set the Background color of screens in #Flutter

❓ How do I set the background color of my main screen in Flutter?

👉 You can set the background color to All Scaffolds in the application at once.

just set scaffoldBackgroundColor: in ThemeData


👉 or Go to one Screen and set its background-color

Scaffold(
//Here you can set whatever background color you need.
backgroundColor: Colors.white,

⛓️ Useful links:
🔗 Install Dart: https://dart.dev/get-dart
🔗 Install Flutter: https://flutter.dev/docs/get-started/install
🌐 Run Dart OnLine: https://dartpad.dev/?null_safety=true


My Favorite Software:
📽️ Adobe Premiere Pro
🚀 VSCode - https://code.visualstudio.com/


Connect With Me:
📧 Email - [email protected]
🐦 Twitter - https://twitter.com/guyineza
🚀 Github:
💼 LinkedIn -


Who Am I?
I’m Ineza Guy, a developer, student, and YouTube creator living in Rwanda, Africa. I make videos on programming, computer science, and productivity.
#Tutorial

Тэги:

#dev_skills #Ineza_Guy #tutorial #dart #flutter #flutter_background_color #flutter_screen_color #set_background_color_flutter #set_the_background_color_of_screen_in_Flutter #scaffold_backgrouncolor #flutter_scaffold_color
Ссылки и html тэги не поддерживаются


Комментарии: