easytbk 0.2.4

简单淘客 #


使用需知 #


初始化 #

 import 'package:easytbk/easytbk.dart' as easytbk;
 var  result = await easytbk.initTradeAsync();

淘宝授权登录: #

var result = await easytbk.login();

获取当用户信息: #

 import 'package:easytbk/easytbk.dart' as easytbk;
 easytbk.User user = await easytbk.getUser();

查询是否登录: #

 import 'package:easytbk/easytbk.dart' as easytbk;
 bool isLogin = await easytbk.isLogin();

打开淘宝详情: #

 import 'package:easytbk/easytbk.dart' as easytbk;
 easytbk.openItemDetail(itemID: "1234567");

打开淘宝URL #

 import 'package:easytbk/easytbk.dart' as easytbk;
 easytbk.openUrl(pageUrl: "https://www.taobao.com");


  1. 阿里百川自定义webview
  2. 京东联盟SDK
  3. 多多进宝SDK

联系方式 #

QQ群:88852333 微信:bugfixed


Copyright 2018 OpenFlutter Project

Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements.  See the NOTICE file distributed with this work for
additional information regarding copyright ownership.  The ASF licenses this
file to you under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License.  You may obtain a copy of
the License at


Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
License for the specific language governing permissions and limitations under
the License.

0.2.4 #

  • IOS不用重写AppDelegate

0.2.3 #

  • IOS不用重写AppDelegate

0.2.2 #

  • 更新阿里百川sdk

0.2.1 #

  • 优化代码,增加评分

0.0.2 #

  • 集成阿里百川sdk.

0.0.1 #

  • 项目框架初始化,该版本不要下载.


easytbk_example #

Demonstrates how to use the easytbk plugin.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

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

  easytbk: ^0.2.4

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:easytbk/easytbk.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 Feb 13, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5
  • Flutter: 1.12.13+hotfix.7

Maintenance issues and suggestions

Homepage URL doesn't exist. (-20 points)

At the time of the analysis the homepage field https://github.com/niugengyun/easytbk-flutter.git was unreachable.

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 Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies