Skip to content

Instantly share code, notes, and snippets.

@Ramko9999
Created June 22, 2020 22:21
Show Gist options
  • Save Ramko9999/d9f076f1151b03979e5bddc56206389a to your computer and use it in GitHub Desktop.
Save Ramko9999/d9f076f1151b03979e5bddc56206389a to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
import 'package:mlkit_qrscanner/reader.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Barcode Scanner',
theme: ThemeData(
primarySwatch: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: ReaderScreen(),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment