[{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/screens/student/home_screen.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "undefined_method",
"target": {
"$mid": 1,
"path": "/diagnostics/undefined_method",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "The method 'AppRow' isn't defined for the type 'StudentHomeScreen'.\nTry correcting the name to the name of an existing method, or defining a method named 'AppRow'.",
"source": "dart",
"startLineNumber": 9,
"startColumn": 15,
"endLineNumber": 9,
"endColumn": 21
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/screens/student/home_screen.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "prefer_const_constructors",
"target": {
"$mid": 1,
"path": "/diagnostics/prefer_const_constructors",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 2,
"message": "Use 'const' with the constructor to improve performance.\nTry adding the 'const' keyword to the constructor invocation.",
"source": "dart",
"startLineNumber": 44,
"startColumn": 21,
"endLineNumber": 50,
"endColumn": 22
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/screens/student/home_screen.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "prefer_const_constructors",
"target": {
"$mid": 1,
"path": "/diagnostics/prefer_const_constructors",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 2,
"message": "Use 'const' with the constructor to improve performance.\nTry adding the 'const' keyword to the constructor invocation.",
"source": "dart",
"startLineNumber": 52,
"startColumn": 21,
"endLineNumber": 58,
"endColumn": 22
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/utils/constants.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "undefined_method",
"target": {
"$mid": 1,
"path": "/diagnostics/undefined_method",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "The method 'Color' isn't defined for the type 'AppColors'.\nTry correcting the name to the name of an existing method, or defining a method named 'Color'.",
"source": "dart",
"startLineNumber": 2,
"startColumn": 31,
"endLineNumber": 2,
"endColumn": 36
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/utils/constants.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "const_initialized_with_non_constant_value",
"target": {
"$mid": 1,
"path": "/diagnostics/const_initialized_with_non_constant_value",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "Const variables must be initialized with a constant value.\nTry changing the initializer to be a constant expression.",
"source": "dart",
"startLineNumber": 2,
"startColumn": 31,
"endLineNumber": 2,
"endColumn": 48
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/utils/constants.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "undefined_method",
"target": {
"$mid": 1,
"path": "/diagnostics/undefined_method",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "The method 'Color' isn't defined for the type 'AppColors'.\nTry correcting the name to the name of an existing method, or defining a method named 'Color'.",
"source": "dart",
"startLineNumber": 3,
"startColumn": 33,
"endLineNumber": 3,
"endColumn": 38
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/utils/constants.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "const_initialized_with_non_constant_value",
"target": {
"$mid": 1,
"path": "/diagnostics/const_initialized_with_non_constant_value",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "Const variables must be initialized with a constant value.\nTry changing the initializer to be a constant expression.",
"source": "dart",
"startLineNumber": 3,
"startColumn": 33,
"endLineNumber": 3,
"endColumn": 50
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/utils/constants.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "undefined_method",
"target": {
"$mid": 1,
"path": "/diagnostics/undefined_method",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "The method 'Color' isn't defined for the type 'AppColors'.\nTry correcting the name to the name of an existing method, or defining a method named 'Color'.",
"source": "dart",
"startLineNumber": 4,
"startColumn": 29,
"endLineNumber": 4,
"endColumn": 34
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/utils/constants.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "const_initialized_with_non_constant_value",
"target": {
"$mid": 1,
"path": "/diagnostics/const_initialized_with_non_constant_value",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "Const variables must be initialized with a constant value.\nTry changing the initializer to be a constant expression.",
"source": "dart",
"startLineNumber": 4,
"startColumn": 29,
"endLineNumber": 4,
"endColumn": 46
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/utils/constants.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "undefined_method",
"target": {
"$mid": 1,
"path": "/diagnostics/undefined_method",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "The method 'Color' isn't defined for the type 'AppColors'.\nTry correcting the name to the name of an existing method, or defining a method named 'Color'.",
"source": "dart",
"startLineNumber": 5,
"startColumn": 33,
"endLineNumber": 5,
"endColumn": 38
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/utils/constants.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "const_initialized_with_non_constant_value",
"target": {
"$mid": 1,
"path": "/diagnostics/const_initialized_with_non_constant_value",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "Const variables must be initialized with a constant value.\nTry changing the initializer to be a constant expression.",
"source": "dart",
"startLineNumber": 5,
"startColumn": 33,
"endLineNumber": 5,
"endColumn": 50
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/utils/constants.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "undefined_method",
"target": {
"$mid": 1,
"path": "/diagnostics/undefined_method",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "The method 'Color' isn't defined for the type 'AppColors'.\nTry correcting the name to the name of an existing method, or defining a method named 'Color'.",
"source": "dart",
"startLineNumber": 6,
"startColumn": 34,
"endLineNumber": 6,
"endColumn": 39
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/utils/constants.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "const_initialized_with_non_constant_value",
"target": {
"$mid": 1,
"path": "/diagnostics/const_initialized_with_non_constant_value",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "Const variables must be initialized with a constant value.\nTry changing the initializer to be a constant expression.",
"source": "dart",
"startLineNumber": 6,
"startColumn": 34,
"endLineNumber": 6,
"endColumn": 51
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/utils/constants.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "undefined_method",
"target": {
"$mid": 1,
"path": "/diagnostics/undefined_method",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "The method 'TextStyle' isn't defined for the type 'AppTextStyles'.\nTry correcting the name to the name of an existing method, or defining a method named 'TextStyle'.",
"source": "dart",
"startLineNumber": 10,
"startColumn": 29,
"endLineNumber": 10,
"endColumn": 38
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/utils/constants.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "const_initialized_with_non_constant_value",
"target": {
"$mid": 1,
"path": "/diagnostics/const_initialized_with_non_constant_value",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "Const variables must be initialized with a constant value.\nTry changing the initializer to be a constant expression.",
"source": "dart",
"startLineNumber": 10,
"startColumn": 29,
"endLineNumber": 13,
"endColumn": 4
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/utils/constants.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "undefined_identifier",
"target": {
"$mid": 1,
"path": "/diagnostics/undefined_identifier",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "Undefined name 'FontWeight'.\nTry correcting the name to one that is defined, or defining the name.",
"source": "dart",
"startLineNumber": 12,
"startColumn": 17,
"endLineNumber": 12,
"endColumn": 27
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/utils/constants.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "undefined_method",
"target": {
"$mid": 1,
"path": "/diagnostics/undefined_method",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "The method 'TextStyle' isn't defined for the type 'AppTextStyles'.\nTry correcting the name to the name of an existing method, or defining a method named 'TextStyle'.",
"source": "dart",
"startLineNumber": 14,
"startColumn": 32,
"endLineNumber": 14,
"endColumn": 41
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/utils/constants.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "const_initialized_with_non_constant_value",
"target": {
"$mid": 1,
"path": "/diagnostics/const_initialized_with_non_constant_value",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "Const variables must be initialized with a constant value.\nTry changing the initializer to be a constant expression.",
"source": "dart",
"startLineNumber": 14,
"startColumn": 32,
"endLineNumber": 17,
"endColumn": 4
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/utils/constants.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "undefined_identifier",
"target": {
"$mid": 1,
"path": "/diagnostics/undefined_identifier",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "Undefined name 'FontWeight'.\nTry correcting the name to one that is defined, or defining the name.",
"source": "dart",
"startLineNumber": 16,
"startColumn": 17,
"endLineNumber": 16,
"endColumn": 27
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/utils/constants.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "undefined_method",
"target": {
"$mid": 1,
"path": "/diagnostics/undefined_method",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "The method 'TextStyle' isn't defined for the type 'AppTextStyles'.\nTry correcting the name to the name of an existing method, or defining a method named 'TextStyle'.",
"source": "dart",
"startLineNumber": 18,
"startColumn": 28,
"endLineNumber": 18,
"endColumn": 37
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/utils/constants.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "const_initialized_with_non_constant_value",
"target": {
"$mid": 1,
"path": "/diagnostics/const_initialized_with_non_constant_value",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "Const variables must be initialized with a constant value.\nTry changing the initializer to be a constant expression.",
"source": "dart",
"startLineNumber": 18,
"startColumn": 28,
"endLineNumber": 20,
"endColumn": 4
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/test/widget_test.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "uri_does_not_exist",
"target": {
"$mid": 1,
"path": "/diagnostics/uri_does_not_exist",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "Target of URI doesn't exist: 'package:attendease/main.dart'.\nTry creating the file referenced by the URI, or try using a URI for a file that does exist.",
"source": "dart",
"startLineNumber": 10,
"startColumn": 8,
"endLineNumber": 10,
"endColumn": 38
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/test/widget_test.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "uri_does_not_exist",
"target": {
"$mid": 1,
"path": "/diagnostics/uri_does_not_exist",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "Target of URI doesn't exist: 'package:attendease_v4/main.dart'.\nTry creating the file referenced by the URI, or try using a URI for a file that does exist.",
"source": "dart",
"startLineNumber": 14,
"startColumn": 8,
"endLineNumber": 14,
"endColumn": 41
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/test/widget_test.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "creation_with_non_type",
"target": {
"$mid": 1,
"path": "/diagnostics/creation_with_non_type",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "The name 'AttendEaseApp' isn't a class.\nTry correcting the name to match an existing class.",
"source": "dart",
"startLineNumber": 19,
"startColumn": 35,
"endLineNumber": 19,
"endColumn": 48
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/pubspec.yaml",
"owner": "_generated_diagnostic_collection_name_#1",
"code": "asset_directory_does_not_exist",
"severity": 4,
"message": "The asset directory 'assets/icons/' doesn't exist.\nTry creating the directory or fixing the path to the directory.",
"source": "dart",
"startLineNumber": 38,
"startColumn": 7,
"endLineNumber": 38,
"endColumn": 20
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/screens/admin/dashboard_screen.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "prefer_const_literals_to_create_immutables",
"target": {
"$mid": 1,
"path": "/diagnostics/prefer_const_literals_to_create_immutables",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 2,
"message": "Use 'const' literals as arguments to constructors of '@immutable' classes.\nTry adding 'const' before the literal.",
"source": "dart",
"startLineNumber": 16,
"startColumn": 19,
"endLineNumber": 41,
"endColumn": 10
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/screens/admin/dashboard_screen.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "prefer_const_constructors",
"target": {
"$mid": 1,
"path": "/diagnostics/prefer_const_constructors",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 2,
"message": "Use 'const' with the constructor to improve performance.\nTry adding the 'const' keyword to the constructor invocation.",
"source": "dart",
"startLineNumber": 17,
"startColumn": 11,
"endLineNumber": 22,
"endColumn": 12
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/screens/admin/dashboard_screen.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "prefer_const_constructors",
"target": {
"$mid": 1,
"path": "/diagnostics/prefer_const_constructors",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 2,
"message": "Use 'const' with the constructor to improve performance.\nTry adding the 'const' keyword to the constructor invocation.",
"source": "dart",
"startLineNumber": 23,
"startColumn": 11,
"endLineNumber": 28,
"endColumn": 12
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/screens/admin/dashboard_screen.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "prefer_const_constructors",
"target": {
"$mid": 1,
"path": "/diagnostics/prefer_const_constructors",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 2,
"message": "Use 'const' with the constructor to improve performance.\nTry adding the 'const' keyword to the constructor invocation.",
"source": "dart",
"startLineNumber": 29,
"startColumn": 11,
"endLineNumber": 34,
"endColumn": 12
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/screens/admin/dashboard_screen.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "prefer_const_constructors",
"target": {
"$mid": 1,
"path": "/diagnostics/prefer_const_constructors",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 2,
"message": "Use 'const' with the constructor to improve performance.\nTry adding the 'const' keyword to the constructor invocation.",
"source": "dart",
"startLineNumber": 35,
"startColumn": 11,
"endLineNumber": 40,
"endColumn": 12
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/screens/lecturer/courses_screen.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "prefer_const_literals_to_create_immutables",
"target": {
"$mid": 1,
"path": "/diagnostics/prefer_const_literals_to_create_immutables",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 2,
"message": "Use 'const' literals as arguments to constructors of '@immutable' classes.\nTry adding 'const' before the literal.",
"source": "dart",
"startLineNumber": 14,
"startColumn": 19,
"endLineNumber": 26,
"endColumn": 10
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/screens/lecturer/courses_screen.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "prefer_const_constructors",
"target": {
"$mid": 1,
"path": "/diagnostics/prefer_const_constructors",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 2,
"message": "Use 'const' with the constructor to improve performance.\nTry adding the 'const' keyword to the constructor invocation.",
"source": "dart",
"startLineNumber": 15,
"startColumn": 11,
"endLineNumber": 19,
"endColumn": 12
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/screens/lecturer/courses_screen.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "prefer_const_constructors",
"target": {
"$mid": 1,
"path": "/diagnostics/prefer_const_constructors",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 2,
"message": "Use 'const' with the constructor to improve performance.\nTry adding the 'const' keyword to the constructor invocation.",
"source": "dart",
"startLineNumber": 21,
"startColumn": 11,
"endLineNumber": 25,
"endColumn": 12
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/screens/student/courses_screen.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "avoid_types_as_parameter_names",
"target": {
"$mid": 1,
"path": "/diagnostics/avoid_types_as_parameter_names",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 2,
"message": "The parameter name 'BuildContext' matches a visible type name.\nTry adding a name for the parameter or changing the parameter name to not match an existing type.",
"source": "dart",
"startLineNumber": 7,
"startColumn": 16,
"endLineNumber": 7,
"endColumn": 28
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/screens/student/courses_screen.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "non_constant_identifier_names",
"target": {
"$mid": 1,
"path": "/diagnostics/non_constant_identifier_names",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 2,
"message": "The variable name 'BuildContext' isn't a lowerCamelCase identifier.\nTry changing the name to follow the lowerCamelCase style.",
"source": "dart",
"startLineNumber": 7,
"startColumn": 16,
"endLineNumber": 7,
"endColumn": 28
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/screens/student/courses_screen.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "prefer_const_literals_to_create_immutables",
"target": {
"$mid": 1,
"path": "/diagnostics/prefer_const_literals_to_create_immutables",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 2,
"message": "Use 'const' literals as arguments to constructors of '@immutable' classes.\nTry adding 'const' before the literal.",
"source": "dart",
"startLineNumber": 14,
"startColumn": 19,
"endLineNumber": 32,
"endColumn": 10
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/screens/student/courses_screen.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "prefer_const_constructors",
"target": {
"$mid": 1,
"path": "/diagnostics/prefer_const_constructors",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 2,
"message": "Use 'const' with the constructor to improve performance.\nTry adding the 'const' keyword to the constructor invocation.",
"source": "dart",
"startLineNumber": 15,
"startColumn": 11,
"endLineNumber": 19,
"endColumn": 12
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/screens/student/courses_screen.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "prefer_const_constructors",
"target": {
"$mid": 1,
"path": "/diagnostics/prefer_const_constructors",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 2,
"message": "Use 'const' with the constructor to improve performance.\nTry adding the 'const' keyword to the constructor invocation.",
"source": "dart",
"startLineNumber": 21,
"startColumn": 11,
"endLineNumber": 25,
"endColumn": 12
},{
"resource": "/C:/Users/VERENA/Desktop/attendease_v4/lib/screens/student/courses_screen.dart",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "prefer_const_constructors",
"target": {
"$mid": 1,
"path": "/diagnostics/prefer_const_constructors",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 2,
"message": "Use 'const' with the constructor to improve performance.\nTry adding the 'const' keyword to the constructor invocation.",
"source": "dart",
"startLineNumber": 27,
"startColumn": 11,
"endLineNumber": 31,
"endColumn": 12
}]