After you have successfully pushed the build files you got from the flutter project, go to the repository page. Then, navigate to the settings, you will find a title “GitHub Pages”. Select your source as main branch and save . That’s it, you have successfully hosted your flutter web build with GitHub pages.