flutter_reticle 0.2.0
flutter_reticle: ^0.2.0

Flutter Android iOS web

Visual indicator for camera following material design, commonly used for object tetection

Reticle #

A Flutter plugin for iOS and Android that provide reticle for camera according to Material Design Object Detection: Live Camera

Sensing Closer Searching Error

Installation #

Add to pubspec.yaml.

dependencies:
  ...
  flutter_reticle: ^0.2.0

Usage #

import flutter_reticle.dart

import 'package:flutter_reticle/flutter_reticle.dart';

use the reticle widget specifying the state

Reticle(ReticleState.SENSING)

for the searching mode, you can specify the searching animation duration in milliseconds

Reticle(ReticleState.SEARCHING, duration: 2000)

The different states are #

enum ReticleState {
    SENSING,
    SEARCHING,
    CLOSER,
    ERROR
}

for a more concrete example head to the example folder

2
likes
100
pub points
35%
popularity

Visual indicator for camera following material design, commonly used for object tetection

Repository (GitLab)
View/report issues

Documentation

API reference

Uploader

rollotquentin@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_reticle