Basic Flutter Packages For Flutter Developers

Sharing is caring!

Flutter is new platform for build single code base Application for IOS & Android.

A few days back Flutter IO 2019 launch flutter for Web desktop. And focus on using flutter packaging system.

Before starting the flutter app or web or desktop we need to learn some basic plugins who make our work quick fast.

I try to make a list who help full flutter plugins for beginners or senior developers.

1 HTTP

A compo-sable, Future-based library for making HTTP requests.

This package contains a set of high-level functions and classes that make it easy to consume HTTP resources. It’s platform-independent and can be used on both the command-line and the browser. The easiest way to use this library is via the top-level functions. Link

Install

Import

Example Code

2 Image Picker

A Flutter plugin for iOS and Android for picking images from the image library, and taking new pictures with the camera. Link

Image video or image from live camera or video from the live camera is a basic feature of any application. For this purpose, we must learn how to implement image or video picker in very quick.

Install

Import

Example Code

3 Connectivity

This plugin allows Flutter apps to discover network connectivity and configure themselves accordingly. It can distinguish between cellular vs WiFi connection. This plugin works for iOS and Android. Link

You need to check user network available or not. To process next level things.

Install

Import

Example Code

4 Video Player

A Flutter plugin for iOS and Android for playing back video on a Widget surface.link

Video player is very basic feature in any app. A lot of user App demand this feature.

These packages help a developer to easily implementation online video player or offline video player.

Install

Import

Add Permission For Android

Add Permission For iOS

Example Code

5 Bloc

A Flutter package that helps implement the BLoC pattern.

This package is built to work with bloc. Link

Install

Import

Example Code

6 Android Alarm Manager.

A Flutter plugin for accessing the Android AlarmManager service, and running Dart code in the background when alarms fire.

Almost every App has Alarm feature.And it very popular in users side.

using this packages you can easily implement this feature.

Getting Started

After importing this plugin to your project as usual, add the following to yourAndroidManifest.xml within the <manifest></manifest> tags:

Next, within the <application></application> tags, add:

Depend on it.

Add this to your package’s pubspec.yaml file:

Import it.

Example Code:

7 Android Intent.

This plugin allows Flutter apps to launch arbitrary intents when the platform is Android. If the plugin is invoked on iOS, it will crash your app. In checked mode, we assert that the platform should be Android.

Use it by specifying action, category, data and extra arguments for the intent. It does not support returning the result of the launched activity. Sample usage:

Depend on it

Import it

Example Code:

8 Path Provider.

A Flutter plugin for finding commonly used locations on the filesystem. Supports iOS and Android.

In case you make a large App and now you need to make sure your paths is correct no error or no issue using path. if you go static without Path Provider package it is very difficult as a beginner.

Example  

Depend on it

Import it

Example Code:

9 URL launcher

A Flutter plugin for launching a URL in the mobile platform. Supports iOS and Android.

URL Launcher also works for loading image video etc. and from any web server or any link. Http also use for this kind of purpose but URL launcher best for best also.

Example

Depend on it

Import it

Example Code

Thanks for visiting…..

Join us Facebook Youtube Twitter Instagram

#Flutter #FlutterWeb #FlutterDev #Android

Leave a Reply

Your email address will not be published. Required fields are marked *

shares