GitHub repositorychihuy105/scanning_effect

scanning_effect

chihuy105/scanning_effect open-source repository details.

scanning_effect project cover
Stars
3
Forks
12
Last push (UTC)
Aug 4, 2025
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

Scanning Effect

License: MIT

Scanning Effect to wrap around the camera

Demo Image Alt Text

Demo Code

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:

  • scanningColor: The color of the scanning animation
  • borderLineColor: The color of the border line
  • scanningHeightOffset: The percent of scanning animation with the view height
  • delay: The delay between each animation
  • duration: The length of time this animation should last.
  • scanningLinePadding: The padding of the scanning animation
chihuy105 GitHub avatar
GitHub author

chihuy105 ↗

LanguagesDartRubySwiftMakefileKotlinObjective-C

Packages published by this repository

Dependencies used

Dependency list 3 items

  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}
  • flutter_lintsDevelopment^1.0.0

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗