aslam mac

I’ll discuss different methods for upload files from flutter web.

Uploading from Flutter web is no big deal. We can perform it by multiple methods.

Method 1

  • Using dart:html library. This is not recommended.


  • Import dart:html package to project file.
import 'dart:html';
  • Method for upload image

Here we can change the…

Photo by Markus Spiske on Unsplash

Linting is something that you should be using for every single project. It is a one time set up that helps all your projects stay clean and organized.

You have lots of options to either use packages or you can make custom ones and do it yourself which is my…

Flutter web apps support two ways of configuring URL-based navigation on the web:

  • Hash (default)Paths are read and written to the hash fragment. For example,
  • PathPaths are read and written without a hash. For example,

Photo by Artur Shamsutdinov on Unsplash

Identifying host platforms in flutter has little confusion in the case of the web. we cover most of the issues of platform detection.

For mobile only.

For web included project.

You can also detect if you are running on the web using kIsWeb, a global constant indicating if the…