v0.1.1flutter_camera_overlay
一个 Flutter 插件,用于添加常见的相机叠加组件,如身份证、信用卡、文本、提示或自定义组件。
120喜欢 82近 30 天下载140Pub 分数
AndroidiOSWeb
matwright/flutter_camera_overlay open-source repository details.
以下为英文项目原文快照,最新内容请访问 GitHub。
This package provides a simple camera overlay to aid capture of documents such as national ID cards, passports and driving licenses.
https://www.iso.org/standard/70483.html
cardID1 - Most banking cards and ID cards
cardID2 - French and other ID cards. Visas.
cardID3 - United States government ID cards
simID000 - SIM cards
Import the file.
import 'package:flutter_camera_overlay/flutter_camera_overlay.dart';
CameraOverlay(
snapshot.data!.first,
CardOverlay.byFormat(format),
(XFile file) => print(file.path),
info: 'Position your ID card within the rectangle and ensure the image is perfectly readable.',
label: 'Scanning ID Card');
依赖清单 5 项
{"sdk":"flutter"}^0.9.4^0.2.1+1{"sdk":"flutter"}^1.0.0先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗