---
title: "Comment by Olumide Olubosede on \"How to make a Navigation Drawer in Flutter\" | Hashnode"
description: "I&#39;m getting errors from the navigation_drawer file. HomePage and Players methods are not defined for the type NavigationDrawer. How do I fix that?"
url: "https://hashnode.com/posts/how-to-make-a-navigation-drawer-in-flutter/623c20209c0ef77dcdfc531c/comment/623c56332209c88a3de8dc9a"
---

[Discussion](https://hashnode.com/posts/how-to-make-a-navigation-drawer-in-flutter/623c20209c0ef77dcdfc531c)

Comment [How to make a Navigation Drawer in Flutter](https://hashnode.com/posts/how-to-make-a-navigation-drawer-in-flutter/623c20209c0ef77dcdfc531c)

[Olumide Olubosede](https://hashnode.com/@LordOnaka)

[Mar 24, 2022](https://hashnode.com/posts/how-to-make-a-navigation-drawer-in-flutter/623c20209c0ef77dcdfc531c/comment/623c56332209c88a3de8dc9a)

I'm getting errors from the navigation\_drawer file. HomePage and Players methods are not defined for the type NavigationDrawer. How do I fix that?

[Oluwafisayomi Ogunyemi](https://hashnode.com/@DroneCodes)

[Mar 24, 2022](https://hashnode.com/posts/how-to-make-a-navigation-drawer-in-flutter/623c20209c0ef77dcdfc531c/comment/623c56332209c88a3de8dc9a#reply-623c5bda2209c88a3de8dd26)

You remove the part where they were called or you create additional file for the it classes and import
