sticker_framework 0.0.1

  • Readme
  • Changelog
  • Installing
  • 56

一、这是什么 #

  • 1.一个为 flutter 设计的贴纸文字框架
  • 2.你可以实现类似:Instagram的快拍、抖音的随拍、多闪的拍摄、微信的时刻视频 那样的文字和贴纸的效果。
  • 3.这是 android native 版
  • 4.这是产品分析

二、支持我 #

不贩卖焦虑,也不标题党。分享一些这个世界上有意思的事情。题材包括且不限于:科幻、科学、科技、互联网、程序员、计算机编程。 下面是我的微信公众号:世界上有意思的事,干货多多等你来看。


[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:

  sticker_framework: ^0.0.1

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support 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:sticker_framework/decoration_element.dart';
import 'package:sticker_framework/ws_element.dart';
import 'package:sticker_framework/rule_line_element_container_widget.dart';
import 'package:sticker_framework/decoration_element_container_widget.dart';
import 'package:sticker_framework/rotate_scale_gesture_recognizer.dart';
import 'package:sticker_framework/element_container_widget.dart';
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 Jul 2, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.9+1
  • Flutter: 1.17.3

Analysis suggestions

Package not compatible with SDK dart

because of import path [sticker_framework]

Health suggestions

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

Analysis of lib/rule_line_element_container_widget.dart reported 2 hints:

line 157 col 3: Prefer using /// for doc comments.

line 210 col 3: Prefer using /// for doc comments.

Fix lib/element_container_widget.dart. (-0.50 points)

Analysis of lib/element_container_widget.dart reported 1 hint:

line 30 col 58: Set literals weren't supported until version 2.2, but this code is required to be able to run on earlier versions.

Format lib/decoration_element.dart.

Run flutter format to format lib/decoration_element.dart.

Fix additional 3 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/decoration_element_container_widget.dart (Run flutter format to format lib/decoration_element_container_widget.dart.)
  • lib/rotate_scale_gesture_recognizer.dart (Run flutter format to format lib/rotate_scale_gesture_recognizer.dart.)
  • lib/ws_element.dart (Run flutter format to format lib/ws_element.dart.)

Maintenance suggestions

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.

Package is getting outdated. (-10.14 points)

The package was last published 57 weeks ago.

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 sticker_framework.dart. Packages with multiple examples should provide example/

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.1.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.12 1.14.13
meta 1.1.8 1.2.0
sky_engine 0.0.99
typed_data 1.1.6 1.2.0
vector_math 2.0.8
Dev dependencies