flutter_reticle 0.2.0 copy "flutter_reticle: ^0.2.0" to clipboard
flutter_reticle: ^0.2.0 copied to clipboard

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

4
likes
40
pub points
0%
popularity

Publisher

unverified uploader

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

Repository (GitLab)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_reticle