cool_ui 0.1.7

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • new70

cool_ui pub package

用flutter实现一些我认为好看的UI控件</br> 希望大家提一些觉得不错的控件,我自己一个人想有时候想到的比较有限

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

dependencies:
  cool_ui: "^0.1.7"

控件

自定义键盘

暂时未编写文档,具体请查看Demo与NumberKeyboard的实现

[0.1.7] - TODO:添加了自定义键盘

  • TODO:添加了自定义键盘
  • TODO:修改了下文档结构

[0.1.6] - TODO:修改了Toast的位置计算方式

  • TODO: 修改了Toast的位置计算方式
  • TODO: 开放了Toast的位置设置
  • TODO: 修改了README.md文档的大小

[0.1.5] - TODO:添加了popoverConstraints参数

  • TODO: CupertionPopoverButton添加了CupertionPopoverButton参数,用于设置最大最小宽度,取消必填的高宽

[0.1.4] - TODO:修改了onTap事件

  • TODO: CupertionPopoverButton添加了onTap事件,返回True不打开Popover
  • TODO: CupertinoPopoverMenuItem修改了onTap事件,返回True不关闭Popover

[0.1.1] - TODO:添加了WeuiToast效果,完善了文档信息

  • TODO: 添加了WeuiToast效果
  • TODO: 完善了文档信息
  • TODO: 添加了PaintEvent事件,具体请看Demo

[0.1.0] - TODO: 改进了CupertionPopover和添加了CupertinoPopoverMenuItem

  • TODO: 改进了CupertionPopover箭头的位置
  • TODO: 改进了CupertinoPopoverMenuItem按下的动画,并且添加了onTap

[0.0.9] - TODO: 添加了一些控件,改进了CupertionPopover

  • TODO: 添加了CupertinoPopoverMenuList
  • TODO: 添加了CupertinoPopoverMenuItem
  • TODO: 修改了CupertionPopover动画,

[0.0.1] - TODO: Add release date.

  • TODO: Describe initial release.

example/README.md

cool_ui_example

Cool UI Example

Getting Started

For help getting started with Flutter, view our online documentation.

Use this package as a library

1. Depend on it

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


dependencies:
  cool_ui: ^0.1.7

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:


import 'package:cool_ui/cool_ui.dart';
  
Version Uploaded Documentation Archive
0.1.7 Nov 20, 2018 Go to the documentation of cool_ui 0.1.7 Download cool_ui 0.1.7 archive
0.1.6 Nov 10, 2018 Go to the documentation of cool_ui 0.1.6 Download cool_ui 0.1.6 archive
0.1.5 Nov 6, 2018 Go to the documentation of cool_ui 0.1.5 Download cool_ui 0.1.5 archive
0.1.4 Nov 4, 2018 Go to the documentation of cool_ui 0.1.4 Download cool_ui 0.1.4 archive
0.1.3 Nov 3, 2018 Go to the documentation of cool_ui 0.1.3 Download cool_ui 0.1.3 archive
0.1.2 Nov 2, 2018 Go to the documentation of cool_ui 0.1.2 Download cool_ui 0.1.2 archive
0.1.1 Nov 2, 2018 Go to the documentation of cool_ui 0.1.1 Download cool_ui 0.1.1 archive
0.1.0 Oct 28, 2018 Go to the documentation of cool_ui 0.1.0 Download cool_ui 0.1.0 archive
0.0.9 Oct 27, 2018 Go to the documentation of cool_ui 0.0.9 Download cool_ui 0.0.9 archive
0.0.8 Oct 27, 2018 Go to the documentation of cool_ui 0.0.8 Download cool_ui 0.0.8 archive

All 17 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
51
Health:
Code health derived from static analysis. [more]
96
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
70
Learn more about scoring.

We analyzed this package on Nov 20, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0
  • pana: 0.12.6
  • Flutter: 0.11.3

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Fix lib/widgets/popover/cupertino_popover.dart. (-1.99 points)

Analysis of lib/widgets/popover/cupertino_popover.dart reported 4 hints:

line 21 col 10: 'popoverBody' is deprecated and shouldn't be used.

line 30 col 16: 'popoverBody' is deprecated and shouldn't be used.

line 31 col 18: 'popoverBody' is deprecated and shouldn't be used.

line 91 col 7: This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final).

Fix lib/keyboards/keyboard_manager.dart. (-1 points)

Analysis of lib/keyboards/keyboard_manager.dart reported 2 hints:

line 114 col 80: The member 'setState' can only be used within instance members of subclasses of 'package:flutter/src/widgets/framework.dart'.

line 156 col 80: The member 'setState' can only be used within instance members of subclasses of 'package:flutter/src/widgets/framework.dart'.

Fix lib/dialogs/weui_toast.dart. (-0.50 points)

Analysis of lib/dialogs/weui_toast.dart reported 1 hint:

line 220 col 14: The operator x ~/ y is more efficient than (x / y).toInt().

Fix lib/keyboards/keyboard_media_query.dart. (-0.50 points)

Analysis of lib/keyboards/keyboard_media_query.dart reported 1 hint:

line 24 col 7: Dead code.

Maintenance issues and suggestions

The description contains too many non-ASCII characters. (-20 points)

The site uses English as it's primary language. Please use a description that primarily contains characters used when writing English.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flustars 0.1.3 0.1.3
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6
shared_preferences 0.4.3
sky_engine 0.0.99
synchronized 1.5.3
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test