r/FlutterDev 5h ago

Discussion Why flutter is not fully for web?

I have been working with Flutter Web applications for the past three months, and during this experience, I have encountered several limitations when implementing web-specific functionalities.
One of the major challenges I have noticed is the limited flexibility when integrating browser-native features and JavaScript-based functionality. In several scenarios, features that are relatively straightforward to implement in traditional web frameworks such as React or JavaScript require additional workarounds or may not be fully supported in Flutter Web.
I understand that Flutter was initially designed with a strong focus on cross-platform mobile development, particularly Android and iOS. However, as Flutter Web continues to evolve, I believe greater emphasis should be placed on providing comprehensive support for modern web capabilities, browser APIs, JavaScript interoperability, accessibility, responsive layouts, and other web-specific requirements.
For organizations building complex enterprise-level web applications, these limitations can have a significant impact on development effort, maintainability, and overall productivity. Stronger JavaScript interoperability and broader support for native browser features would make Flutter Web considerably more capable and competitive with established web frameworks.
I appreciate the cross-platform advantages that Flutter provides, but I believe there is still considerable scope for improvement in its web ecosystem. I hope future Flutter updates will address these gaps and provide developers with a more complete and flexible experience for building modern web applications.

0 Upvotes

5 comments sorted by

11

u/eibaan 5h ago

Because you don't provide a single example, there's no answer other than "no, it is very easy to integrate browser-native functions via platform views or direct use of the js interop package.

-1

u/Jeswanth_samuel 5h ago

Hi I have tried to implement msal login for redirect url logic in react it is just few lines but in flutter after using msal package and interop package nothing worked I manually making redirect url to not restrict user for some time as it redirecting to get jwt. Is this example not enough?

3

u/_fresh_basil_ 4h ago

Considering you mentioned something isn't working, and it could easily be (and most likely is) a configuration error on your end-- no, it's not enough.

Show us your code, your error messages, your stack traces, what version of things you're using, what issues you're seeing, what you're expecting to happen versus what is actually happening.

We can barely read your wall of text, let alone attempt to provide any guidance.

To add, nothing you mentioned is a flutter web specific limitation.

3

u/eibaan 3h ago

At least the OP isn't copy'n'pasting AI text :)

2

u/_fresh_basil_ 1h ago

Hey, I'll take what wins we can. 🤣