A QR code/ barcode scanner made using Flutter.

Overview

QR Scanner

A Flutter based QR/Bar code scanner app with dark mode and material design.

  • Scan QR codes.
  • Scan barcodes.
  • Show result in a popup.
  • Clicking result open the website.
  • Result automatically gets copied to clipboard.
  • Show snackbar.

Demo

Lab: Write your first Flutter app

Usage

You can simply clone the repository, or if you want to include it in your project simply follow the steps mentioned below.

First create a new app using $ flutter create app_name.

This project has the following dependencies yo need to define in pubspec.yaml file.

dependencies:
  cupertino_icons: ^0.1.2
  barcode_scan: ^2.0.1
  flutter_launcher_icons: ^0.7.4
  url_launcher: ^5.4.2
  provider: any

It also needs the following assets.

flutter:
  uses-material-design: true
  assets:
    - assets/images/logo.jfif
  fonts:
     - family: IBM Plex Sans
       fonts:
         - asset: assets/fonts/IBMPlexSans.ttf
     - family: Raleway
       fonts:
         - asset: assets/fonts/Raleway.ttf
     - family: Rubik
       fonts:
         - asset: assets/fonts/Rubik.ttf

where the logo.jfif file is the image shown in the drawer of App.

Then run $ flutter pub get to download these packages.

Then import the following packages in main.dart file.

import 'dart:async';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:barcode_scan/barcode_scan.dart';
import 'package:flutter/services.dart';
import './theme_provider.dart';
import 'package:provider/provider.dart';
import 'package:url_launcher/url_launcher.dart';
import 'package:flutter/gestures.dart';

You also need to add the following permission in AndroidManifest.xml file.

<uses-permission android:name="android.permission.CAMERA" />

Then add this new activity inside of it.

<activity android:name="com.apptreesoftware.barcodescan.BarcodeScannerActivity"/>

To add the SplashScreen logo simply add this line to android/app/src/main/res/drawable/lauch_background.xml file.

    <item>
        <bitmap
            android:gravity="center"
            android:src="@drawable/logo" />
    </item>

You also need to add that logo.png inside of the drawable folder which is mentioned above.

Downlaod

You can download the apk-release.apk, for using this application.

You might also like...

A document scanner plugin for flutter

A document scanner plugin for flutter

document_scanner_flutter A document scanner + PDF generator plugin for flutter Getting Started Installing document_scanner_flutter: ^0.2.3 Basic Usage

Dec 2, 2022

Log4Shell Scanner For Dart

Log4j Log4Shell Scanner Dart (l4ss_dart) Log4ShellScanner Dart I love Dart. I ha

Dec 18, 2021

QRCode Generator and QR Scanner

QRCode Generator and QR Scanner

QRCode Scanner Flutter App Functionality : Generate QR code from text Share QR Code Scan QR Code using camera and get text result This project is a st

Sep 27, 2022

Write iOS&Android Code using Dart. This package liberates you from redundant glue code and low performance of Flutter Channel.

Write iOS&Android Code using Dart. This package liberates you from redundant glue code and low performance of Flutter Channel.

Dart_Native Dart_Native operates as both a code generator tool and a bridge to communicate between Dart and native APIs. Replaces the low-performing F

Jan 4, 2023

A Flutter mobile application built completely using DhiWise and Supabase without coding single line of code. With 100% system generated code

A Flutter mobile application built completely using DhiWise and Supabase without coding single line of code. With 100% system generated code

Flutter Expension Getting Started with Flutter 🚀 Generated with ❤️ from Dhiwise A Flutter mobile application built completely using DhiWise and Supab

Oct 23, 2022

This is the UI of Furniture App made using Flutter SDK. The original design was made by someone else in dribble and I tried to create the screens of that UI using Flutter

This is the UI of Furniture App made using Flutter SDK. The original design was made by someone else in dribble and I tried to create the screens of that UI using Flutter

Furniture App - Responsive Flutter UI Watch it on YouTube Responsive UI Fetch Data From API Custom Loading Indicator Packages we are using: flutter_sv

Dec 3, 2022

Repository containing source code for the tutorials made using with flutter

Repository containing source code for the tutorials made using with flutter

Flutter Tutorials Repository Containing Source code for tutorials found here: https://petercoding.com Note: Don't forgot to run pub get or just open p

Dec 9, 2022

Repository containing source code for the tutorials made using firebase with flutter

Repository containing source code for the tutorials made using firebase with flutter

Firebase-Flutter Tutorials Repository Containing Source code for tutorials found here: https://petercoding.com Note: Don't forgot to run pub get or ju

Dec 21, 2022

Code-quizzy - Code Quizzy Application Built With Flutter

Code-quizzy - Code Quizzy Application Built With Flutter

Flutter Code Quizzy Application Configuration for this application Fortunately,

Jan 1, 2023
Owner
Hash Studios
We deliver beautiful experiences for everyone.
Hash Studios
QR Scanner and Barcode Scanner app

qr_scan_code A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if

Muhammad Abair Mutarraf 18 Dec 8, 2022
A QR code/ barcode scanner made using Flutter.

QR Scanner A Flutter based QR/Bar code scanner app with dark mode and material design. Scan QR codes. Scan barcodes. Show result in a popup. Clicking

Hash Studios 10 Nov 15, 2022
Custom Camera, Barcode Scanner etc

in_app_camera A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if

Faizan Darwesh 0 Dec 30, 2021
A full screen mobile scanner for scanning QR Code and Bar Code.

Flutter QR Bar Scanner A Full Screen Scanner for Scanning QR code and Barcode using Google's Mobile Vision API Reading & Scanning QR/Bar codes using F

Lutfor Rahman 31 Oct 5, 2022
FlutterQRcode - Flutter QR Code Scanner app for a specific type of QR using GetX State Management Architecture

qrcode A new Flutter QR Scanner Project for Data Entry using GetX state manageme

null 8 Dec 11, 2022
barcode generate library for Flutter

Barcode Flutter is a Flutter library for simple and fast Barcode rendering via custom painter Update Notes 1.1.2 Add Codabar support Fix wrong pattern

Chenge 58 Mar 26, 2022
A flutter plugin about qr code or bar code scan , it can scan from file、url、memory and camera qr code or bar code .Welcome to feedback your issue.

r_scan A flutter plugin about qr code or bar code scan , it can scan from file、url、memory and camera qr code or bar code .Welcome to feedback your iss

PengHui Li 112 Nov 11, 2022
Animated_qr_code_scanner - QR Code Scanner for Flutter with animated targetting box

Animated QR Code Scanner A QR code scanner Widget that currently works on Android only (feel free to make pull request on iOS implementation) by nativ

Kiat Stanley 72 Dec 11, 2022
🛠 Flutter QR code scanner plugin.

Language: English | 中文简体 QR Code Scanner A Flutter plugin ?? to scanning. Ready for Android ?? github Permission: <uses-permission android:name="andro

Sword 349 Dec 20, 2022
QR-Scanner - Flutter App To Scan QR Code

QR-Scanner App To Scan QR Code QR-Scanner.mp4 Features: Scan QR Codes Scan 2D Ba

null 7 Nov 2, 2022