20
    
    
        
            +
              assets:
        
    


    
      
21
    
    
        
            +
                - images/lake.jpg

Tip:

Note that pubspec.yaml is case sensitive,
so write assets: and the image URL
as shown above.

The pubspec file is also sensitive to white
space, so use proper indentation.

You might need to restart the running program
(either on the simulator or a connected device) for the
pubspec changes to take effect.

Now you can reference the image from your code:

{step4 → step5}/lib/main.dart

@@ -77,6 +77,12 @@

77
77

),

78
78

body: Column(