Skip to content

Commit

Permalink
* improve: improve design
Browse files Browse the repository at this point in the history
* fix: something
  • Loading branch information
pdliuw committed Mar 12, 2021
1 parent 02da468 commit 07e3385
Show file tree
Hide file tree
Showing 13 changed files with 205 additions and 585 deletions.
58 changes: 33 additions & 25 deletions .packages
Original file line number Diff line number Diff line change
@@ -1,26 +1,34 @@
# Generated by pub on 2021-02-08 17:00:18.218789.
async:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/async-2.5.0-nullsafety.1/lib/
boolean_selector:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0-nullsafety.1/lib/
characters:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0-nullsafety.3/lib/
charcode:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/charcode-1.2.0-nullsafety.1/lib/
clock:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0-nullsafety.1/lib/
collection:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0-nullsafety.3/lib/
fake_async:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0-nullsafety.1/lib/
flutter:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/packages/flutter/lib/
flutter_test:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/packages/flutter_test/lib/
flutter_web_plugins:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/packages/flutter_web_plugins/lib/
matcher:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.10-nullsafety.1/lib/
meta:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/meta-1.3.0-nullsafety.3/lib/
path:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/
qr:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/qr-1.3.0/lib/
qr_flutter:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/qr_flutter-3.2.0/lib/
sky_engine:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/bin/cache/pkg/sky_engine/lib/
source_span:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.0-nullsafety.2/lib/
stack_trace:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0-nullsafety.1/lib/
stream_channel:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0-nullsafety.1/lib/
string_scanner:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0-nullsafety.1/lib/
term_glyph:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0-nullsafety.1/lib/
test_api:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.19-nullsafety.2/lib/
typed_data:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0-nullsafety.3/lib/
vector_math:file:///Users/air/develop_tool/flutter_macos_1.22.0-stable/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0-nullsafety.3/lib/
# This file is deprecated. Tools should instead consume
# `.dart_tools/package_config.json`.
#
# For more info see: https://dart.dev/go/dot-packages-deprecation
#
# Generated by pub on 2021-03-12 16:54:46.545979.
ai_barcode_platform_interface:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/ai_barcode_platform_interface-2.0.0/lib/
ai_barcode_web:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/ai_barcode_web-1.0.0/lib/
async:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/async-2.5.0/lib/
boolean_selector:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/boolean_selector-2.1.0/lib/
characters:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/characters-1.1.0/lib/
charcode:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/charcode-1.2.0/lib/
clock:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/clock-1.1.0/lib/
collection:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/collection-1.15.0/lib/
fake_async:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/fake_async-1.2.0/lib/
flutter:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/packages/flutter/lib/
flutter_test:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/packages/flutter_test/lib/
flutter_web_plugins:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/packages/flutter_web_plugins/lib/
js:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/js-0.6.3/lib/
matcher:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/matcher-0.12.10/lib/
meta:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/meta-1.3.0/lib/
path:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/path-1.8.0/lib/
qr:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/qr-1.3.0/lib/
qr_flutter:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/qr_flutter-3.2.0/lib/
sky_engine:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/bin/cache/pkg/sky_engine/lib/
source_span:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.8.0/lib/
stack_trace:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/stack_trace-1.10.0/lib/
stream_channel:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/stream_channel-2.1.0/lib/
string_scanner:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/string_scanner-1.1.0/lib/
term_glyph:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/term_glyph-1.2.0/lib/
test_api:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/test_api-0.2.19/lib/
typed_data:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/typed_data-1.3.0/lib/
vector_math:file:///Users/air/develop_tool/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.flutter-io.cn/vector_math-2.1.0/lib/
ai_barcode:lib/
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [1.6.0]

* improve: improve design
* fix: something

## [1.2.0]

* adapter flutter = v1.22
Expand Down
117 changes: 69 additions & 48 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ packages:
dependency: "direct main"
description:
name: ai_awesome_message
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.0"
ai_barcode:
Expand All @@ -14,70 +14,84 @@ packages:
path: ".."
relative: true
source: path
version: "1.2.0"
version: "2.0.0"
ai_barcode_platform_interface:
dependency: transitive
description:
name: ai_barcode_platform_interface
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.0"
ai_barcode_web:
dependency: transitive
description:
name: ai_barcode_web
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.0"
airoute:
dependency: "direct main"
description:
name: airoute
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.0"
async:
dependency: transitive
description:
name: async
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.5.0-nullsafety.1"
version: "2.5.0"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.0-nullsafety.1"
version: "2.1.0"
characters:
dependency: transitive
description:
name: characters
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.1.0-nullsafety.3"
version: "1.1.0"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.2.0-nullsafety.1"
version: "1.2.0"
clock:
dependency: transitive
description:
name: clock
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.1.0-nullsafety.1"
version: "1.1.0"
collection:
dependency: transitive
description:
name: collection
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.15.0-nullsafety.3"
version: "1.15.0"
cupertino_icons:
dependency: "direct main"
description:
name: cupertino_icons
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.1.3"
fake_async:
dependency: transitive
description:
name: fake_async
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.2.0-nullsafety.1"
version: "1.2.0"
flutter:
dependency: "direct main"
description: flutter
Expand All @@ -93,60 +107,67 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
js:
dependency: transitive
description:
name: js
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.6.3"
matcher:
dependency: transitive
description:
name: matcher
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.12.10-nullsafety.1"
version: "0.12.10"
meta:
dependency: transitive
description:
name: meta
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.3.0-nullsafety.3"
version: "1.3.0"
path:
dependency: transitive
description:
name: path
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.8.0-nullsafety.1"
version: "1.8.0"
permission_handler:
dependency: "direct main"
description:
name: permission_handler
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "5.1.0+2"
permission_handler_platform_interface:
dependency: transitive
description:
name: permission_handler_platform_interface
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.2"
plugin_platform_interface:
dependency: transitive
description:
name: plugin_platform_interface
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.2"
version: "1.0.3"
qr:
dependency: transitive
description:
name: qr
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.3.0"
qr_flutter:
dependency: transitive
description:
name: qr_flutter
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.2.0"
sky_engine:
Expand All @@ -158,58 +179,58 @@ packages:
dependency: transitive
description:
name: source_span
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.8.0-nullsafety.2"
version: "1.8.0"
stack_trace:
dependency: transitive
description:
name: stack_trace
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.10.0-nullsafety.1"
version: "1.10.0"
stream_channel:
dependency: transitive
description:
name: stream_channel
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.0-nullsafety.1"
version: "2.1.0"
string_scanner:
dependency: transitive
description:
name: string_scanner
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.1.0-nullsafety.1"
version: "1.1.0"
term_glyph:
dependency: transitive
description:
name: term_glyph
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.2.0-nullsafety.1"
version: "1.2.0"
test_api:
dependency: transitive
description:
name: test_api
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.2.19-nullsafety.2"
version: "0.2.19"
typed_data:
dependency: transitive
description:
name: typed_data
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.3.0-nullsafety.3"
version: "1.3.0"
vector_math:
dependency: transitive
description:
name: vector_math
url: "https://pub.dartlang.org"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.0-nullsafety.3"
version: "2.1.0"
sdks:
dart: ">=2.10.0-110 <2.11.0"
flutter: ">=1.20.0 <2.0.0"
dart: ">=2.12.0-0.0 <3.0.0"
flutter: ">=1.20.0"
13 changes: 2 additions & 11 deletions lib/ai_barcode.dart
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
library ai_barcode;

///
/// Import
import 'package:ai_barcode/src/creator/ai_barcode_platform_creator_interface.dart';
import 'package:ai_barcode/src/scanner/ai_barcode_platform_scanner_interface.dart';

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

///
/// Part
part 'src/ai_barcode_widget.dart';
/// Export
export 'src/ai_barcode_widget.dart';
Loading

0 comments on commit 07e3385

Please sign in to comment.