[Solved] Error: Too few positional arguments: 1 required, 0 given

You don’t need to specify the parameter label for BottomTabBtn. Instead of: BottomTabBtn(imagePath: “assets/images/tab_home.png”), Use: BottomTabBtn(“assets/images/tab_home.png”), If you really want to use parameter label, then change your constructor declaration to: BottomTabBtn({this.imagePath}); 1 solved Error: Too few positional arguments: 1 required, 0 given