I am new at this, and I tried to follow example, but it wont let me do my redirect to my Home().
I get this error.
The argument type Home cant be assigned to the parameter type 'Widget Function(BuildContext)'/
Because you're supposed to pass a WidgetBuilder not a Widget so if you follow the examples (who are working ^^) you should put (context) => Home() and not just Home()
I am new at this, and I tried to follow example, but it wont let me do my redirect to my Home(). I get this error. The argument type Home cant be assigned to the parameter type 'Widget Function(BuildContext)'/