Your Second Flutter App, Episode 2: Create the Project | raywenderlich.com

Get started with your second Flutter project by creating a template project that will be the basis of your own raywenderlich.com app.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/25841733-your-second-flutter-app/lessons/2

when setting the theme color the video shows:

theme: ThemeData(primaryColor: Colors.green.shade800),

this did not work I still got the default blue, digging into the API it documents as the above but also shows

theme: ThemeData(
colorScheme: ColorScheme.fromSwatch()
.copyWith(primary: Colors.green.shade800)),

this works but will it have an impact throughout, what is the proper way to set the colors in the default theme?