Skip to content

Switch ancestor of main.dart to avoid potential "problems" #19

@gcappon

Description

@gcappon

do

create: (context) => Cart(),
child: MaterialApp(
//This specifies the app entrypoint
home: HomePage(),
),

instead of:

  return MaterialApp(
   create: (context) => Cart(),
    //This specifies the app entrypoint
    child: HomePage(),
  ),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions