20 flutter libraries you should know

Front end full stack developer 2021-10-14 06:58:26
flutter libraries know

In this paper , We will discuss 20 One of the most useful and commonly used libraries , Many developers like them , If you do flutter Development of , You should know that . And all of these support Android and IOS System .

1. Google Map

At present, most applications need Google Maps, This library provides you with Google Maps Many of the services needed in the application . Even you can customize it in your own way .

mapType: MapType.hybrid,
initialCameraPosition: _kGooglePlex,
onMapCreated: (GoogleMapController controller) {


This library enables you to start URL To your web browser , They also support starting your native mode URL, Telephone , SMS , E-mail, etc .

_launchURL() async { 
const url = 'https://flutter.dev’;
if (await canLaunch(url)) {
await launch(url);
} else {
throw '
Could not launch $url’;

3.Firebase packages (FlutterFire)

This is not a separate , It is a set of collection Libraries ,firebase Support your flutter Applications .

We use it in our applications firebase To implement a variety of different methods , For example, messaging 、 Database etc. .

therefore , Here you can find all these things according to your requirements , It provides a separate library for this .


State management is an important part of our application ,Provider Provide the current data model where we currently need it .

Provider yes InheritedWidget The wrapper , You can use... More easily with less boilerplate code .

Provider Is the most basic Provider widget type . You can use it for widget Provide values anywhere in the tree ( Usually data model objects ). however , When the value changes , It won't help you update widget Trees .


This is also a state management library .Bloc(Business Logic Component) Design patterns , This is a kind of similar to MVVM Patterns of things .

Bloc widget It is the basic component you need to implement all business logic . In order to use it , Please expand Bloc Class and rewrite mapEventToState and initialState Method .


It is also a state management library .GetX Provides state management 、 A combination of dependency injection and routing management solutions , Can work well together .

GetX yes Flutter An ultra light and powerful solution . It combines high-performance state management quickly and practically 、 Intelligent dependency injection and routing management .


Redux for Dart Use generics for typed States . It contains rich documentation 、 middleware 、 Development tools ecosystem , And you can use flutter_redux Bag and Flutter combination .


RxDart yes Dart Language's reactive functional programming library , be based on ReactiveX.

It is also a library of state management solutions .


It provides a callback when the position changes . We can easily manage our applications in maps and other uses , We need the current location , If the user's location changes , Then our application will be updated in real time , Without having to call the function again and again .


We can Flutter Get the current device information from the application . This means that they provide information about your device , Like the operating system version 、 Name, etc .


It provides local database storage , It's like we're here Android Use in Sqlite equally .

It is mainly used for local storage , Provide solutions for the creation and storage of large tables .

12.Cached network image

One flutter library , Used to display images from the Internet , And save it in the cache directory .

The main purpose of this library is that you can only load images once , Then the library saves it in the cache . So you don't need to load again and again .


Shared Preferences Used to store data key value pairs locally , Without too much code structure or table creation .

If you know android Of Shared-preferences, Then you will see that the library is the same .


This package provides internationalization and localization facilities , Including message translation 、 Numbers and gender 、 date / Number formatting and parsing , And two-way text .

15.Path provider

One Flutter plug-in unit , Used to find common locations on the file system . Support iOS、Android、Linux and macOS. Not all platforms support all methods .

16.Google fonts

Flutter Of google_fonts The package allows you to Flutter Easy to use in applications from fonts.google.com Of 977 Fonts ( And its variants ) Any one of them .


This plugin is in your flutter Various types of chart structures are provided in the project , Like a bar chart 、 Linear chart 、 Circular chart, etc .

18.Package info

This Flutter The plug-in is used to query information about the application package , Such as iOS Upper CFBundleVersion or Android Upper versionCode.

The plug-in provides information about the device ( brand 、 Model, etc ) Details of , And running the application Android or iOS edition .


This Flutter Plug ins are used to share through the platform UI To share the content , stay Android Upper use ACTION_SEND Intention , stay iOS Upper use UIActivityViewController.


dio The plug-in is Dart A powerful HTTP client , Support interceptor 、FormData、 Request cancellation 、 File download 、 Timeout etc. .

original text :https://shirsh94.medium.com/20-flutter-library-that-you-should-know-about-it-8f3d33a08817
author :Shirsh Shukla

Guess you like

本文为[Front end full stack developer]所创,转载请带上原文链接,感谢

  1. Day17 Java Foundation
  2. Day18 Java Foundation
  3. Linux installe JDK 1.8 et configure les variables d'environnement
  4. Tutoriel d'utilisation Maven super détaillé
  5. Spring boot reads project parameter configuration
  6. Docker installing rocketmq
  7. Java Zero Basic small white Beginner must make a summary of issues (recommended Collection) Chapitre 1
  8. Manuel pour vous apprendre à utiliser le développement Java pour générer des documents PDF en ligne
  9. 40 + comment les femmes s'habillent - elles pour montrer leur jeunesse?Un manteau et une jupe vous donnent un look haut de gamme tout au long de l'automne et de l'hiver
  10. Tutoriel d'installation Ubuntu 16.04 / Hadoop 3.1.3Configuration autonome / pseudo - distribuée
  11. L'apprentissage le plus détaillé de springboot à l'échelle du réseau - day01
  12. L'apprentissage le plus détaillé de springboot sur le Web - day02
  13. L'apprentissage le plus détaillé de springboot sur le Web - day03
  14. L'apprentissage le plus détaillé de springboot sur le Web - day04
  15. Tutoriel d'utilisation Maven super détaillé
  16. L'apprentissage le plus détaillé de springboot sur le Web - day05
  17. L'apprentissage le plus détaillé de springboot sur le Web - day06
  18. L'apprentissage le plus détaillé de springboot sur le Web - day07
  19. Introduction to JavaScript - write a photo album for your girlfriend
  20. [Hadoop 3. X] HDFS storage type and storage strategy (V) overview
  21. L'apprentissage le plus détaillé de springboot sur le Web - day08
  22. Introduction à la page Web de rabbitmq (3)
  23. No Converter found for return value of type: class java.util.arraylist Error Problem
  24. (16) , spring cloud stream message driven
  25. Que faut - il apprendre de l'architecture des microservices Spring Cloud?
  26. Résolution: erreur: Java: distribution cible invalide: 11problème d'erreur
  27. Springboot démarre en une minute et sort de l'enfer de la configuration SSM!
  28. Maven - un outil de gestion essentiel pour les grands projets d'usine, de l'introduction à la maîtrise![️ Collection recommandée]
  29. ️ Push to interview in Large Factory ᥧ - - Spring Boot Automatic Assembly Principle
  30. [️ springboot Template Engine] - thymeleaf
  31. Springboot - MVC Automatic configuration Principle
  32. Mybatis reverse engineering and the use of new version mybatisplus 3.4 reverse engineering
  33. Base de données MySQL - transactions et index
  34. Sécurité du printemps - [authentification, autorisation, déconnexion et contrôle des droits]
  35. Moteur de base de données InnoDB diffère de myisam
  36. Swagger - [springboot Integrated Swagger, configure Swagger, configure scan Interface, configure API Group]
  37. Cadre de sécurité Shiro - [QUICKstart, login Block, User Authentication, request Authorization]
  38. [Introduction à Java] installation de l'environnement de développement - Introduction à Java et construction de l'environnement
  39. 【 linux】 notes d'utilisation tmux
  40. MySQL + mybatis paging query - database series learning notes
  41. Usage relations and differences of count (1), count (*) and count (a field) in MySQL
  42. 2021 Ali Java advanced interview questions sharing, Java Architect interview materials
  43. Mybatis - dynamic SQL statement - if usage - MySQL series learning notes
  44. [go to Dachang series] deeply understand the use of where 1 = 1 in MySQL
  45. [secret room escape game theme ranking list] Based on spring MVC + Spring + mybatis
  46. Redis log: the killer mace of fearless downtime and rapid recovery
  47. 5 minutes to build redis cluster mode and sentinel mode with docker
  48. Java小白入门200例106之遍历ArrayList的几种方式
  49. Java小白入门200例105之Java ArrayList类
  50. Java小白入门200例104之JDK自带记录日志类logging
  51. Practice of high availability architecture of Tongcheng travel network based on rocketmq
  52. Chapter 9 - Linux learning will - file archiving and compression tar --- zip
  53. Java小白入門200例104之JDK自帶記錄日志類logging
  54. JDK avec journalisation de classe dans 200 cas 104
  55. Java ArrayList Class for Introduction to Java LITTLE WHITE 200 example 105
  56. Plusieurs façons de traverser ArrayList à partir de 200 exemples 106
  57. Provectus / Kafka UI: open source Apache Kafka's Web GUI Graphical interface management tool
  58. Design pattern series: Singleton pattern
  59. Java小白入門200例105之Java ArrayList類
  60. Understanding Java record types