Migration guide

Tests that assert on the color of a Container
or that expected it to create a
BoxDecoration need to be modified.

Code before migration:

testWidgets

'Container color'

WidgetTester

tester

async

await

tester

pumpWidget

Container

color:

Colors

red

));

final

Container

container

tester

widgetList

Container

>()

first

expect

container

decoration

color

Colors

red

);