flutter_waya 1.0.5

  • Readme
  • Changelog
  • Example
  • Installing
  • 15

flutter_waya #

Flutter 项目开发 基类库 #

若需要原生工具可以使用 flutter_curiosity #

1.二次封装组件 custom #

1、全局弹窗 全局无Context路由跳转 根组件使用 OverlayCupertinoOverlayMaterial #

2、A-Z 侧边栏 #

3、自定义广告滚动 #

2.多个工具类 utils #

1、弹窗工具 #

2、全局无Context路由跳转 #

3、部分基础工具类 #

4、长日志打印 #

5、屏幕相关参数 #

6、全局消息发送监听 #

7、本地持久化存储 #

3.多个组件 widget #

1、AlertBase 弹窗底层组件 #

2、点击跳过 #

3、验证码发送 #

4、二次封装刷新组件 #

5、二次封装Loading组件 #

4.快捷打包命令 builds #

###sh android.sh //即可打包命令 可拷贝builds至自己的项目目录 并修改

[1.0.5] #

  • 优化部分组件

[1.0.4] #

  • 拆分TabBarWidget
  • 优化部分代码
  • 新增部分组件

[1.0.3] #

  • 优化时间选择器(简化参数)
  • 优化Overlay叠层
  • 修复点击返回按键 Overlay无法关闭(需使用OverlayScaffold)
  • 添加Hero组件

[1.0.2] #

  • 修复 download upload 方法 catch 异常无法返回问题

[1.0.1] #

  • 修改crypto与flutter_test冲突

[1.0.0] #

  • 发布正式版

[0.0.2] #

  • add example;

[0.0.1] #

  • create lib

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_waya/flutter_waya.dart';

void main() =>
    runApp(OverlayMaterial(
      title: 'Waya Demo',
      home: Home(),
    ));

class Home extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return OverlayScaffold(
      appBar: AppBar(title: Text('Waya Demo'), centerTitle: true),
      body: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: <Widget>[
          AnimatedOpacity(
              opacity: 0.9,
              curve: Curves.easeInCirc,
              duration: Duration(seconds: 5),
              onEnd: () {
                print('动画结束');
              },
              child: CustomButton(
                padding: EdgeInsets.symmetric(horizontal: 20, vertical: 10),
                background: Colors.greenAccent,
                text: '弹窗', onTap: () {
                showAlert();
              },)
          ),
        ],),);
  }

  showAlert() {
    AlertTools.alertSureCancel(Text('显示几个文职',
      style: TextStyle(color: Colors
          .red)
      ,),
        animatedOpacity: true,
        gaussian: true,
        sureTap:
            () {

        }, cancelTap: () {

        });
  }
}

Use this package as a library

1. Depend on it

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


dependencies:
  flutter_waya: ^1.0.5

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:flutter_waya/flutter_waya.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
30
Health:
Code health derived from static analysis. [more]
0
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0
Overall:
Weighted score of the above. [more]
15
Learn more about scoring.

We analyzed this package on Jul 8, 2020, and provided a score, details, and suggestions below. Analysis was completed with status aborted using:

  • Dart:
  • pana:

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0