Include Common Utils And Widgets

Include Common Utils And Widgets

Flutter Common include common Utils and Widgets

Flutter Common

include common Utils and Widgets


1. CommonApp

get app info, like: label, packageName, versionName, versionCode

2. CommonCrypto
  • toMd5(): MD5 encryption
  • encodeB64(): Base64 encoding
  • decodeB64(): Base64 decoding
  • aesEncrypt(): AES encryption
  • aesDecrypt(): AES decryption
3. CommonDevice
  • model(): model
  • releaseVersion(): firmware version
  • identifier(): Device Id
3. CommonFile
  • strSize(): Format the display file size
4. CommonSp

Use shared_preferences for lightweight data access

  • getInt(): Get int data by key
  • putInt(): store int data
5. CommonSystem
  • copyToClipboard(): copy text to clipboard
  • screenWidth(): Get the current device screen width
  • screenHeight(): Get the current device screen height
  • statusBarHeight(): Get the height of the current device screen status bar
6. CommonTime
  • currentMillisecondsTimeStamp(): Get the millisecond timestamp of the current time
  • currentTimeStamp(): Get the second timestamp of the current time
  • parseDateTimeStr(): Convert the specified format characters to Date
  • dateTimeToStr(): Convert Date to specified format characters
  • timeStampToStr(): Convert the specified timestamp to a time string
  • timeStampToStrWrapped(): Convert the specified timestamp to a standard format string
  • diffDays(): Calculate the number of days between two dates
7. CommonColor
  • fromStr(): Generate different colors according to different strings


1. loading view

loading view

2. network image view

loading view

3. file selector

loading view

4. bottom menu

loading view

5. bottom modal

loading view

6. dialog

loading view

Download Details:

Author: wiatec

Source Code:

flutter dart mobile-apps

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Google's Flutter 1.20 stable announced with new features - Navoki

Google has announced new flutter 1.20 stable with many improvements, and features, enabling flutter for Desktop and Web

Top 25 Flutter Mobile App Templates in 2020

Flutter has been booming worldwide from the past few years. While there are many popular mobile app development technologies out there, Flutter has managed to leave its mark in the mobile application development world. In this article, we’ve curated the best Flutter app templates available on the market as of July 2020.

Flutter App Development Trends 2020

As the new decade dawns upon us, a slew of technologies has been making a lot of noise to grab the developers’ attention. While native app development is going strong, the trade winds are now blowing towards going cross-platform.

How To Succeed In Mobile App Wireframe Design?

This article covers everything about mobile app wireframe design: what to do and what not, tools used in designing a mobile or web app wireframe, and more.

What is Flutter and why you should learn it?

Flutter is an open-source UI toolkit for mobile developers, so they can use it to build native-looking Android and iOS applications from the same code base for both platforms. Flutter is also working to make Flutter apps for Web, PWA (progressive Web-App) and Desktop platform (Windows,macOS,Linux).