Get your own website
main.dart:6:13: Error: Required named parameter 'age' must be provided.
  showPerson(name: 'Tom');
            ^
main.dart:1:6: Context: Found this candidate, but the arguments don't match.
void showPerson({required String name, required int age}) {
     ^^^^^^^^^^