![]() ![]() Next up, I’ll try to run the same application for flutter macOS and windows to see how that works. You can download the complete source code for this app here: I could reduce software development costs drastically where companies would just need to hire one developer for Web, Android and iOS. I ran the EXACT same code in Android and iOS and that too worked seamlessly! After seeing it live in action, I believe it’s not just another fad, and if executed properly, it could change the landscape of software development. I was so awed when I first ran it as I was expecting to make some changes in code specific to the web.īut it was more powerful than I thought. You’ll see the chrome window open up and your flutter web app will run seamlessly. Then run the following command: flutter run Running your first flutter web applicationįinally, we’re ready to run our flutter application. But if you’re still unable to run the project, mention it in the comments below and I’ll help you out. This would show you some of the problems with your project. Note: If you encounter some problem running the app or setting up flutter web, then try running flutter doctor. This means that your flutter project is ready to run on the web. Now if you go ahead and run flutter devices you’ll see Chrome Web as an option. Finally, enable flutter web: flutter config -enable-web.Switch to flutter beta channel: flutter channel beta.To enable flutter web application, follow the steps below: Currently your project isn’t set up for flutter web. But if you try to run it, you’ll just see the option of iOS and Android devices. Once you’ve cloned the repo, run it like any other flutter application. If you want to try it out for yourself, go ahead and clone this repository: The app consists of simple bottom navigation, a navigation drawer and multiple screens to show recipes by category and recipe details. It’s just a collection of multiple recipes with static data served in one of the constants dart file. I recently took a flutter dev course in Udemy and created a recipe application in one of the tutorials. But the sheer simplicity and the ease of development left me awed!įirst, let’s talk about what I’m gonna build. I wouldn’t lie I was very skeptical at first as I thought it would be just another fad like PWAs at one time. Spoiler alert: It was an absolute pleasure working with flutter web!. Especially with so much hype around flutter web, I was very excited to try it out and see it for myself. ![]() This is a short account of my experience with the same. I recently created a flutter web, flutter iOS and flutter Android Application. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |