v1.0.11scanning_effect
Scanning effect for wrapping around a camera view with customizable borders using CustomPainter.
42Likes 34030-day downloads140Pub points
AndroidiOSWebmacOSWindowsLinux
chihuy105/scanning_effect open-source repository details.
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0English project snapshot. Visit GitHub for the latest content.
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: