Delete useless scan_screen
This commit is contained in:
parent
faf67cc6d8
commit
4d9a9ecab1
1 changed files with 0 additions and 75 deletions
|
|
@ -1,75 +0,0 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_svg/svg.dart';
|
||||
import 'package:mobile_scanner/mobile_scanner.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
// class ScanPage extends StatefulWidget {
|
||||
// const ScanPage({super.key});
|
||||
|
||||
// @override
|
||||
// State<ScanPage> createState() => _ScanPage();
|
||||
// }
|
||||
|
||||
// class _ScanPage extends State<ScanPage> {
|
||||
// final MobileScannerController controller = MobileScannerController(
|
||||
// detectionTimeoutMs: 1000,
|
||||
// );
|
||||
// @override
|
||||
// Widget build(BuildContext context) {
|
||||
// return Stack(
|
||||
// children: <Widget>[
|
||||
// MobileScanner(
|
||||
// controller: controller,
|
||||
// onDetect: (result) {
|
||||
// print(result.barcodes.first.rawValue);
|
||||
// },
|
||||
// ),
|
||||
// SafeArea(
|
||||
// child: Column(
|
||||
// crossAxisAlignment: CrossAxisAlignment.center,
|
||||
// children: [
|
||||
// Center(
|
||||
// child: Card(
|
||||
// margin: EdgeInsets.symmetric(horizontal: 50),
|
||||
// child: Column(
|
||||
// children: [
|
||||
// Consumer<TabScreen>(
|
||||
// builder: (context, screen, child) {
|
||||
// return ListTile(
|
||||
// leading: Icon(Icons.person),
|
||||
// title: TextButton(
|
||||
// child: Text("No"),
|
||||
// onPressed: () {
|
||||
// screen.change("ownerPage");
|
||||
// },
|
||||
// ),
|
||||
// );
|
||||
// },
|
||||
// ),
|
||||
// ListTile(
|
||||
// leading: Icon(Icons.attach_money),
|
||||
// title: TextButton(
|
||||
// child: Text("Demander à chaque fois"),
|
||||
// onPressed: () {
|
||||
// return;
|
||||
// },
|
||||
// ),
|
||||
// ),
|
||||
// ],
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// Expanded(child: SizedBox()),
|
||||
// SvgPicture.asset('assets/scan-overlay.svg'),
|
||||
// Expanded(child: SizedBox()),
|
||||
// TextButton(
|
||||
// onPressed: () {},
|
||||
// child: Text("Enregistrer manuellement"),
|
||||
// ),
|
||||
// ],
|
||||
// ),
|
||||
// ),
|
||||
// ],
|
||||
// );
|
||||
// }
|
||||
// }
|
||||
Reference in a new issue