Browse Source

updated readme

pull/89/head
Khoren Markosyan 2 years ago
parent
commit
1d87765023
  1. 42
      README.md
  2. 2
      example/ios/Podfile.lock
  3. 1
      example/lib/main.dart
  4. 34
      zxscanner/README.md
  5. 4
      zxscanner/lib/configs/app_theme.dart

42
README.md

@ -1,39 +1,13 @@
# Flutter ZXing
# ZXScanner
<p align="center">
<img src="https://user-images.githubusercontent.com/11523360/178162663-57ec28ac-7075-43ab-ac31-35058298c73e.png" alt="ZXScanner logo" height="100" >
</p>
<p align="center">
<a href="https://apps.apple.com/am/app/zxscanner/id1629106248">
<img alt="Download on the App Store" title="App Store" src="https://user-images.githubusercontent.com/11523360/178162313-182568ae-c9a2-48bd-9a51-883562788d9e.png" height="50">
</a>
<a href="https://play.google.com/store/apps/details?id=com.markosyan.zxscanner">
<img alt="Download on the Google Play" title="Google Play" src="https://user-images.githubusercontent.com/11523360/178162318-533a29de-750f-4d4b-b117-f3d01c2c9340.png" height="50">
</a>
</p>
ZXScanner is a free QR code and barcode scanner app for Android and iOS. It is built using Flutter and the [flutter_zxing](https://github.com/khoren93/flutter_zxing) plugin.
Flutter ZXing is a Flutter plugin for scanning and generating QR codes using the ZXing (Zebra Crossing) barcode scanning library. The plugin is implemented using the Dart FFI (Foreign Function Interface) and the [zxing-cpp](https://github.com/zxing-cpp/zxing-cpp) library, and allows you to easily integrate barcode scanning and generation functionality into your Flutter apps.
## Demo Screenshots
<pre>
<img alt="01_scanner_screen" src="https://user-images.githubusercontent.com/11523360/219614206-277d4931-9cc7-4130-9c89-72fd220981b1.png" width="240">&nbsp; <img alt="02_creator_screen" src="https://user-images.githubusercontent.com/11523360/219614226-1877e7e0-9166-4961-935b-513f515c6d52.png" width="240">&nbsp;
<img alt="01_scanner_screen" src="https://user-images.githubusercontent.com/11523360/222677044-a15841a7-e617-44bb-b3a0-66b2d5b57dce.png" width="240">&nbsp; <img alt="02_creator_screen" src="https://user-images.githubusercontent.com/11523360/222677058-60a676fd-c229-4b51-8780-f40155cb5db6.png" width="240">&nbsp;
</pre>
All screenshots for iOS were generated using [Fastlane Snap](https://docs.fastlane.tools/actions/snapshot/). To generate your own, run the command:
```bash
cd zxscanner/ios
bundle exec fastlane screenshots
```
## Flutter ZXing
Flutter ZXing is a Flutter plugin for scanning and generating QR codes using the ZXing (Zebra Crossing) barcode scanning library. The plugin is implemented using the Dart FFI (Foreign Function Interface) and the [zxing-cpp](https://github.com/zxing-cpp/zxing-cpp) library, and allows you to easily integrate barcode scanning and generation functionality into your Flutter apps.
## Features
- Scan QR codes and barcodes from the camera stream (on mobile platforms only), image file or URL
@ -72,6 +46,16 @@ In addition, flutter_zxing uses the camera plugin to access the device's camera
This README file was mainly generated using ChatGPT, a tool that generates human-like text.
## ZXScanner
ZXScanner is a free QR code and barcode scanner app for Android and iOS. It is built using Flutter and the [flutter_zxing](https://github.com/khoren93/flutter_zxing) plugin.
<p align="center">
<a href="https://github.com/khoren93/flutter_zxing/tree/main/zxscanner">
<img src="https://user-images.githubusercontent.com/11523360/178162663-57ec28ac-7075-43ab-ac31-35058298c73e.png" alt="ZXScanner logo" height="100" >
</a>
</p>
## Getting Started
### Cloning the flutter_zxing project

2
example/ios/Podfile.lock

@ -27,7 +27,7 @@ SPEC CHECKSUMS:
camera_avfoundation: 3125e8cd1a4387f6f31c6c63abb8a55892a9eeeb
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
flutter_zxing: 19a866d17c8a87ee1026d68521c69d2f008635f6
image_picker_ios: 58b9c4269cb176f89acea5e5d043c9358f2d25f8
image_picker_ios: 4a8aadfbb6dc30ad5141a2ce3832af9214a705b5
PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3

1
example/lib/main.dart

@ -23,6 +23,7 @@ class _MyAppState extends State<MyApp> {
Widget build(BuildContext context) {
return const MaterialApp(
title: 'Flutter Zxing Example',
debugShowCheckedModeBanner: false,
home: DemoPage(),
);
}

34
zxscanner/README.md

@ -1,16 +1,30 @@
# zxscanner
# ZXScanner
A new Flutter project.
<p align="center">
<img src="https://user-images.githubusercontent.com/11523360/178162663-57ec28ac-7075-43ab-ac31-35058298c73e.png" alt="ZXScanner logo" height="100" >
</p>
## Getting Started
<p align="center">
<a href="https://apps.apple.com/am/app/zxscanner/id1629106248">
<img alt="Download on the App Store" title="App Store" src="https://user-images.githubusercontent.com/11523360/178162313-182568ae-c9a2-48bd-9a51-883562788d9e.png" height="50">
</a>
<a href="https://play.google.com/store/apps/details?id=com.markosyan.zxscanner">
<img alt="Download on the Google Play" title="Google Play" src="https://user-images.githubusercontent.com/11523360/178162318-533a29de-750f-4d4b-b117-f3d01c2c9340.png" height="50">
</a>
</p>
This project is a starting point for a Flutter application.
ZXScanner is a free QR code and barcode scanner app for Android and iOS. It is built using Flutter and the [flutter_zxing](https://github.com/khoren93/flutter_zxing) plugin.
A few resources to get you started if this is your first Flutter project:
## Demo Screenshots
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
<pre>
<img alt="01_scanner_screen" src="https://user-images.githubusercontent.com/11523360/219614206-277d4931-9cc7-4130-9c89-72fd220981b1.png" width="240">&nbsp; <img alt="02_creator_screen" src="https://user-images.githubusercontent.com/11523360/219614226-1877e7e0-9166-4961-935b-513f515c6d52.png" width="240">&nbsp;
</pre>
For help getting started with Flutter development, view the
[online documentation](https://docs.flutter.dev/), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
All screenshots for iOS were generated using [Fastlane Snap](https://docs.fastlane.tools/actions/snapshot/). To generate your own, run the command:
```bash
cd zxscanner/ios
bundle exec fastlane screenshots
```

4
zxscanner/lib/configs/app_theme.dart

@ -10,11 +10,15 @@ class AppTheme {
colors: FlexColor.schemesList[appStore.colorSchemeIndex].light,
surfaceMode: FlexSurfaceMode.highScaffoldLevelSurface,
blendLevel: 12,
useMaterial3: true,
useMaterial3ErrorColors: true,
);
static ThemeData flexDarkTheme() => FlexThemeData.dark(
colors: FlexColor.schemesList[appStore.colorSchemeIndex].dark,
surfaceMode: FlexSurfaceMode.highScaffoldLevelSurface,
blendLevel: 6,
useMaterial3: true,
useMaterial3ErrorColors: true,
);
}

Loading…
Cancel
Save