You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lib/main.dart:98:16: Error: A value of type 'Route?' can't be returned from a function with return type 'Route' because 'Route?' is nullable and 'Route' isn't.
'Route' is from 'package:flutter/src/widgets/navigator.dart' ('../../../Documents/flutter/flutter/packages/flutter/lib/src/widgets/navigator.dart').
return func(settings, uniqueId);
^
lib/main.dart:116:7: Error: The argument type 'Route Function(RouteSettings, String)' can't be assigned to the parameter type 'Route? Function(RouteSettings, String?)' because 'String?' is nullable and 'String' isn't.
'Route' is from 'package:flutter/src/widgets/navigator.dart' ('../../../Documents/flutter/flutter/packages/flutter/lib/src/widgets/navigator.dart').
'RouteSettings' is from 'package:flutter/src/widgets/navigator.dart' ('../../../Documents/flutter/flutter/packages/flutter/lib/src/widgets/navigator.dart').
routeFactory,
^
The text was updated successfully, but these errors were encountered:
lib/main.dart:98:16: Error: A value of type 'Route?' can't be returned from a function with return type 'Route' because 'Route?' is nullable and 'Route' isn't.
return func(settings, uniqueId);
^
lib/main.dart:116:7: Error: The argument type 'Route Function(RouteSettings, String)' can't be assigned to the parameter type 'Route? Function(RouteSettings, String?)' because 'String?' is nullable and 'String' isn't.
routeFactory,
^
The text was updated successfully, but these errors were encountered: