Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The argument type 'DetailsScreen Function(BuildContext, int)' can't be assigned to the parameter type 'DetailsScreen Function(BuildContext, int, bool)'.dart(argument_type_not_assignable) #5

Open
MassiveSuccess opened this issue Mar 1, 2020 · 1 comment

Comments

@MassiveSuccess
Copy link

The argument type 'DetailsScreen Function(BuildContext, int)' can't be assigned to the parameter type 'DetailsScreen Function(BuildContext, int, bool)'.dart(argument_type_not_assignable)

home.dart file line 33

@OverRide
Widget build(BuildContext context) {
final bool _tablet = isTablet(context, breakpoint: _tabletBreakpoint);
return ResponsiveScaffold.builder(
tabletBreakpoint: _tabletBreakpoint,
// detailBuilder: (BuildContext context, int index) {
final i = _emails[index];
return DetailsScreen(
appBar: AppBar(
elevation: 0.0,
Screenshot 2020-03-01 at 9 26 14 PM

@MassiveSuccess
Copy link
Author

    detailBuilder: (BuildContext context, int index, bool tablet) {

This Fixed It.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant