A flutter base libs package, used in company's project.

Overview

组件库

project_base_libs_pkg

pubspec.yamldependencies:中引入:

  project_base_libs_pkg:
    git:
      url: https://github.com/YouXianMing/flutter_project_pkg.git
      path: project_base_libs_pkg

该基础组件库不依赖于任何项目的业务,自带了example,可以单独运行。你也可以在flutter_projects中查看具体的使用情形。以下是该组件库中一些重要的类:

名字 描述
DioNetwork 对DioNetwork的初级封装
AnimationsManager 简化动画使用的管理器
SliverSection 将Sliver家族的控件封装到了SliverSection对象,简化Sliver家族控件的使用并添加了瀑布流、SectionHeader悬停的支持
app_print 打印信息将包含完整的文件路径,点击后可以直达app_print所在的行
InformationView 实现了各种Toast、AlertView、SheetView的基础控件,可高度定制各种效果,可以在页面里或者overlay中显示,与实现了MaybePopMixin的类配合可以在overlay中处理maybePop事件(安卓物理返回键事件)。
AnimatedRotate 子控件按照顺时针或者逆时针旋转,可暂停
BaseAppBar (抽象)对AppBar的封装
BasePageBuildMixin (抽象)基础页面的架构
BaseStatelessWidget (抽象)基础的StatelessWidget,与BasePageBuildMixin进行mixin,提供基础的页面架构
BaseStatefulWidget (抽象)基础的StatefulWidget,与BasePageBuildMixin进行mixin,提供基础的页面架构
CustomTabBarWidget 简化TabBar的使用
CustomWrapWidget 通过FlowDelegate实现的Wrap组件,高度无限,可以限定Wrap的行数
FirstTimeLoadingWidget 首次加载的loading的Widget,是一个接收Future对象或者Future数组的Widget,加载成功该Widget会消失,加载失败会进入失败重试的Widget,可以定制请求的界面以及失败重试界面
FlutterSpinKitWidget 对第三方库flutter_spinkit进行的封装
LoadingAnimationWidget 对第三方库loading_animations进行的封装
SafeAreaPaddingWidget 添加安全距离的Widget
SliversRefreshWidget pull_to_refresh进行封装,简化其使用
StackContainer 一个Stack的管理器
StatusWidget 一个包含了普通、高亮、禁用、选中、未选中状态以及处理逻辑的基础控件,可用于封装Button用
BaseButtonWidget 一个包含了普通、高亮、禁用状态的Button控件,可用于封装Button用
AnimatedButtonWidget 基于BaseButtonWidget封装的支持交互动画的Button
OpacityButtonWidget 基于BaseButtonWidget封装的支持透明度动画的Button
ToastWidget 一个Toast控件
ScanFilesTool 一个用于递归扫描文件夹用的工具类,支持设定扫描深度
SpVal 通过枚举值的方式设置SharedPreferences,不需要手动设置key
You might also like...

A basic flutter app used to accompany a walkthrough

FLUTTER WALKTHROUGH Install Flutter SDK Dart SDK comes with the Flutter SDK Android Studio or XCode or VS Code Android Studio Install Flutter plugin f

Dec 15, 2021

Lottery smart contract is built with Solidity and Brownie. Flutter Web is used to buid the UI and link the smart contract.

lottery_dapp A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if

Dec 15, 2021

This is a simple flutter prototype that can be used to search contacts on mobile phones.

flutter_contacts_example This is a simple prototype which allow us to search contacts. Getting Started This project is a starting point for a Flutter

Apr 20, 2022

Relive is a cross-platform application that can be used both in Android/IOS and it is made using Flutter

Relive is a cross-platform application that can be used both in Android/IOS and it is made using Flutter

📌 Introduction Relive is a cross-platform application that can be used both in Android/IOS and it is made using Flutter. It aims to solve the mental

Nov 4, 2022

FlutterCardSwipe Card Swipe Animation Creating the swipe view as used in the Tinder.

FlutterCardSwipe Card Swipe Animation Creating the swipe view as used in the Tinder.

FlutterCardSwipe Card Swipe Animation Creating the swipe view as used in the Tinder. Swipe right is considered accepted and swipe left is rejected.It

Dec 27, 2022

Kind of app that generally used to maintain our day-to-day tasks or list everything that we have to do.We can add more tasks at any time and delete a task that is completed.

todo_application A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

Nov 6, 2021

Compact representation of a placeholder for an image. Encode a blurry image under 30 caracters for instant display like used by Medium. Maintainer: @Solido

Compact representation of a placeholder for an image. Encode a blurry image under 30 caracters for instant display like used by Medium. Maintainer: @Solido

Flutter BlurHash Compact representation of a placeholder for an image. Generation You can use https://blurha.sh/ for testing or use any official api o

Dec 30, 2022

This app is used to download whatsapp status photo and videos

This app is used to download whatsapp status photo and videos

This app is used to download whatsapp status photo and videos. you can upload this app in playstore as well. there are lot's of application available like WhatsApp Story Saver, Story Downloader for whatsapp.

Nov 28, 2022

Dart templates to be used with OpenWhisk

Dart templates to be used with OpenWhisk

Dart OpenWhisk function templates This repository contains OpenWhisk function te

Sep 26, 2022
Owner
YouXianMing
Life is always coding & debugging.
YouXianMing
Web / Android app base on Flutter(2.5.2).

⚠️ Only accepting contributions made to Flutter app. Any other contributions wont be accepted ⚠️ Web and Android app build over Flutter. Here in this

Vivek Sonawane 41 Oct 31, 2022
projet Ynov campus DEVLMIOT "base de donnée firebase"

widgetsdivers A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if

null 1 Oct 23, 2021
Consultar e insertar en una base de datos Firebase y Storage.

firebase_p A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if th

null 0 Nov 25, 2021
A simple app to demonstrate a testable, maintainable, and scalable architecture for flutter. flutter_bloc, hive, and REST API are some of the tech stacks used in this project.

last_fm A simple app to demonstrate a testable, maintainable, and scalable architecture for flutter. flutter_bloc, hive, and REST API are some of the

Elias Andualem 140 Dec 31, 2022
An example project to demonstrate how moor can be used on multiple platforms

moor_shared An example project to demonstrate how moor can be used on multiple p

null 0 Dec 28, 2021
News Headline app is build in Flutter MVVM and REST Apis for News is used in this app.

About The Project Flutter MVVM project for News Headlines. REST Api for News is used in this project. App Demo Api for News Get free api from here : h

Aizaz ahmad 3 Aug 16, 2022
used sqflite flutter , bloc

todoapp A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

sara attia 1 Dec 2, 2022
Routinger is a task scheduler app that is made to make you a better person at no extra cost. The code is open-source. Dart language and Flutter framework are used extensively.

Routinger This is a simple app that will allow you to schedule your tasks, create a simple to-do, and also make recurring tasks. The app ends you noti

Routinger 16 Dec 17, 2022
Sorting Visualizer using Flutter followed MVVM Pattern and used Stacked Services. Hope you like it 😋

Sortlizer An App to visualize various sorting algorithms...Developed using Flutter, followed MVVM pattern, and used stacked services. Play Store Link

Roshan Kumar 17 Dec 28, 2022
Concepts used Flutter layout,State management, Blockchain integration, Http api integration, Smart contracts

HS_CryptoCoin_Wallet First project using Flutter with Blockchain Getting Started This project is a starting point for a Flutter application. A few res

Harsh Saxena 1 Dec 23, 2021