weui 0.0.3

  • Installing
  • Versions
  • new32

[0.0.1] - TODO: Add release date.

  • TODO: Describe initial release.

Use this package as a library

1. Depend on it

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

  weui: ^0.0.3

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:weui/weui.dart';
Version Uploaded Documentation Archive
0.0.3 Mar 21, 2019 Go to the documentation of weui 0.0.3 Download weui 0.0.3 archive
0.0.2 Mar 8, 2019 Go to the documentation of weui 0.0.2 Download weui 0.0.2 archive
0.0.1 Feb 25, 2019 Go to the documentation of weui 0.0.1 Download weui 0.0.1 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Mar 21, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14
  • Flutter: 1.3.3


Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Fix lib/toast/index.dart. (-1 points)

Analysis of lib/toast/index.dart reported 2 hints:

line 58 col 13: The class 'Future' was not exported from 'dart:core' until version 2.1, but this code is required to be able to run on earlier versions.

line 125 col 9: The class 'Future' was not exported from 'dart:core' until version 2.1, but this code is required to be able to run on earlier versions.

Fix lib/utils.dart. (-1 points)

Analysis of lib/utils.dart reported 2 hints:

line 39 col 3: The class 'Future' was not exported from 'dart:core' until version 2.1, but this code is required to be able to run on earlier versions.

line 41 col 12: The class 'Future' was not exported from 'dart:core' until version 2.1, but this code is required to be able to run on earlier versions.

Fix lib/button/index.dart. (-0.50 points)

Analysis of lib/button/index.dart reported 1 hint:

line 19 col 7: This class (or a class which this class inherits from) is marked as '@immutable', but one or more of its instance fields are not final: WeButton.child, WeButton.sizeType, WeButton.size

Fix additional 37 files with analysis or formatting issues. (-3 points)

Additional issues in the following files:

  • lib/cell/index.dart (1 hint)
  • lib/check_list/index.dart (1 hint)
  • lib/input/index.dart (1 hint)
  • lib/notify/index.dart (1 hint)
  • lib/radio_list/index.dart (1 hint)
  • lib/tip/index.dart (1 hint)
  • lib/actionsheet/android_widget.dart (Run flutter format to format lib/actionsheet/android_widget.dart.)
  • lib/actionsheet/index.dart (Run flutter format to format lib/actionsheet/index.dart.)
  • lib/actionsheet/ios_widget.dart (Run flutter format to format lib/actionsheet/ios_widget.dart.)
  • lib/actionsheet/utils.dart (Run flutter format to format lib/actionsheet/utils.dart.)
  • lib/animation/fade_in.dart (Run flutter format to format lib/animation/fade_in.dart.)
  • lib/animation/rotating.dart (Run flutter format to format lib/animation/rotating.dart.)
  • lib/animation/scale.dart (Run flutter format to format lib/animation/scale.dart.)
  • lib/badge/index.dart (Run flutter format to format lib/badge/index.dart.)
  • lib/collapse/index.dart (Run flutter format to format lib/collapse/index.dart.)
  • lib/dialog/android_widget.dart (Run flutter format to format lib/dialog/android_widget.dart.)
  • lib/dialog/index.dart (Run flutter format to format lib/dialog/index.dart.)
  • lib/dialog/ios_widget.dart (Run flutter format to format lib/dialog/ios_widget.dart.)
  • lib/dialog/layout_hoc.dart (Run flutter format to format lib/dialog/layout_hoc.dart.)
  • lib/drawer/drawer.dart (Run flutter format to format lib/drawer/drawer.dart.)
  • lib/drawer/index.dart (Run flutter format to format lib/drawer/index.dart.)
  • lib/form/index.dart (Run flutter format to format lib/form/index.dart.)
  • lib/grid/index.dart (Run flutter format to format lib/grid/index.dart.)
  • lib/icon/index.dart (Run flutter format to format lib/icon/index.dart.)
  • lib/image_preview/index.dart (Run flutter format to format lib/image_preview/index.dart.)
  • lib/image_preview/preview_widget.dart (Run flutter format to format lib/image_preview/preview_widget.dart.)
  • lib/loadmore/index.dart (Run flutter format to format lib/loadmore/index.dart.)
  • lib/notice_bar/index.dart (Run flutter format to format lib/notice_bar/index.dart.)
  • lib/notify/notify.dart (Run flutter format to format lib/notify/notify.dart.)
  • lib/picker_view/index.dart (Run flutter format to format lib/picker_view/index.dart.)
  • lib/progress/index.dart (Run flutter format to format lib/progress/index.dart.)
  • lib/slider/index.dart (Run flutter format to format lib/slider/index.dart.)
  • lib/swipe/index.dart (Run flutter format to format lib/swipe/index.dart.)
  • lib/switch/index.dart (Run flutter format to format lib/switch/index.dart.)
  • lib/theme/index.dart (Run flutter format to format lib/theme/index.dart.)
  • lib/toast/info.dart (Run flutter format to format lib/toast/info.dart.)
  • lib/toast/toast.dart (Run flutter format to format lib/toast/toast.dart.)

Maintenance issues and suggestions

Provide a file named README.md. (-30 points)

The README.md file should inform others about your project, what it does, and how they can use it. See the example generated by stagehand.

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

The site uses English as its primary language. The value of the description field in your package's pubspec.yaml field should primarily contain characters used in English.

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and weui.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies