I tried using a List I had already created with a row but I kept getting this error lib/main.dart:94:21: Error: The argument type 'List<dynamic>' can't be assigned to the parameter type 'List<Widget>'.
- 'List' is from 'dart:core'.
- 'Widget' is from 'package:flutter/src/widgets/framework.dart'
('/C:/fluttersdk/flutter/packages/flutter/lib/src/widgets/framework.dart').
children: scoreKeeper,
CodePudding user response:
Make your scoreKeeper
variable to be of type List<Widget>
instead of just List
CodePudding user response:
Define list as List scoreKeeper in main.dart.