v1.0.11scanning_effect
CustomPainter를 사용하여 사용자 정의 가능한 테두리로 카메라 뷰를 감싸는 스캔 효과.
42좋아요 34030일 다운로드140Pub 점수
AndroidiOSWebmacOSWindowsLinux
chihuy105/scanning_effect open-source repository details.
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Scanning Effect to wrap around the camera
Demo Image Alt Text
Wrap the ScanningEffect widget around your widget
@override
Widget build(BuildContext context) {
return ScanningEffect(
scanningColor: Colors.red,
borderLineColor: Colors.green,
delay: Duration(seconds: 1),
duration: Duration(seconds: 2),
child: Container(
child: SizedBox(),
),
);
}
You can set the custom config base on these param: