Is there any way to make microfrontend with Flutter Mobile. We have a big team and we wanna to use microfrontend with Flutter. I am not sure can we handle a big project with monolith application. We have goals to make a super app which is merging 8 application in one. I do not want to use webview. I want to make it with dart language.
Related
I was wondering if it's possible to run Flutter application components (such as building a specific screen) with other web apps. And if there is a good resource to learn how to do this.
We have a GWT web-app that we have been considering upgrading some components to Flutter, but I have not seen much information online on how to implement this.
I can't see documentation of this process online though. I have seen that you can insert Flutter into existing Android/IOS apps but I don't know how compatible this is with GWT.
I'm confused about what Flutter framework actually does, I know that it uses Dart and have heard that both of them can be used to create cross-platform apps.
But Wikipedia defines Flutter as a "UI Framework", so my question is, can you make a complete app (for mobile) which also has backend part (communicates with a database) built entirely using Flutter & Dart and not only the UI part?
Yes, we can obviously build complete apps using Flutter, from UI part to backend as well. Using Firebase as a backend service, we can use it for authentication, database, hosting and all.
Can I use one Flutter project to create web and mobile applications? if yes, How will I go about it, since some libraries that work with mobile might not work with the web? And how can I build a project such that the web pages do not fall into the production mobile app.
You can choose to limit your project to only the web platform or the mobile platform when building the project. Also, you can choose not to use any external library in your project.
If you want to check the platform that your app is run you can use the class Platform.
But be careful this class can be problematic for web so you should you kisweb
if (kisweb) {
// you're on web
}
Yes, you can but the question is should you? as flutter is now capable to support multiple platforms with a single code base. but the problem arises when you have to implement some complex functionalities into it and there are few packages that support all platforms that you want to deploy. So to tackle this either you have to ditch the idea to implement those functionalities or write your own package.
I'm looking for a good tool to develop to Web and Mobile.
A friend of mine recommended me to learn NativeScript/Angular because with that tool is possible to write the services, models, and controllers only one time and create specific views for Mobile and Web platform, sharing almost 100% the business logic code.
But I think that native script is not so hyped as flutter and maybe flutter could be more used in the next days, so I'm searching for this type of tutorial (sharing logic between Mobile and Web) in a flutter, but I'm not sure if this is really possible.
I saw something about BLOC pattern, but I am not sure if this is the correct solution for this type of project, or even if it is possible to write logic code only one time and specific "views" for Mobile and Web in a flutter.
Can anybody help me with this issue?
Thanks in advance (and sorry about my English, I'm not fluent yet)
That's the whole propaganda of flutter. The framework is made to write one code and run everywhere (android, ios, web, desktop). So you definitely are on the right path.
Unfortunately flutter web is a bit unstable right now and maybe you can face some difficulty.
On Android native to separate each application feature, structured the project, implementing architecture component and to make it easier to work in a team you can use modularization, so each person can focus on their respective work by focusing only on the module. If I want to make a flutter application with examples of 3 application features (login, register, profile) and want to implement modularization for each feature to make it easier to work as a team. How do you implement the modular? Are there references to its best practices for modularizing Flutter? Because if on Android Native there are already many related articles while I check for Flutter it hasn't found it yet.
Create each feature as a package(library) and add it whenever you want to the main app. For example in my app I use main.dart as a navigator manager and each screen is in different packages.
And this is an example of implementing it: https://github.com/rrifafauzikomara/flutter_modularization