summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-09-28 15:23:37 +0300
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-09-28 15:23:37 +0300
commit549a51b021217a25426625a962ede562bb069191 (patch)
treecd7d66c6e6babbeeeb677336571fa19e7b293791
parent6427cdb7a9604fc0f8cc67e956fb50e12509c2e0 (diff)
Packages updated.
Changes to be committed: modified: lib/main.dart
-rw-r--r--lib/main.dart30
1 files changed, 6 insertions, 24 deletions
diff --git a/lib/main.dart b/lib/main.dart
index 9675120..d7cd012 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -1,4 +1,10 @@
+import 'package:camera/camera.dart';
+import 'package:permission_handler/permission_handler.dart';
+import 'package:flutter_tflite/flutter_tflite.dart';
+import 'package:flutter_tts/flutter_tts.dart';
+
import 'package:flutter/material.dart';
+import 'dart:io';
void main() {
runApp(const MyApp());
@@ -12,21 +18,6 @@ class MyApp extends StatelessWidget {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
- // This is the theme of your application.
- //
- // TRY THIS: Try running your application with "flutter run". You'll see
- // the application has a blue toolbar. Then, without quitting the app,
- // try changing the seedColor in the colorScheme below to Colors.green
- // and then invoke "hot reload" (save your changes or press the "hot
- // reload" button in a Flutter-supported IDE, or press "r" if you used
- // the command line to start the app).
- //
- // Notice that the counter didn't reset back to zero; the application
- // state is not lost during the reload. To reset the state, use hot
- // restart instead.
- //
- // This works for code too, not just values: Most code changes can be
- // tested with just a hot reload.
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurpleAccent),
useMaterial3: true,
),
@@ -39,15 +30,6 @@ class MyApp extends StatelessWidget {
class MyHomePage extends StatefulWidget {
const MyHomePage({super.key, required this.title});
- // This widget is the home page of your application. It is stateful, meaning
- // that it has a State object (defined below) that contains fields that affect
- // how it looks.
-
- // This class is the configuration for the state. It holds the values (in this
- // case the title) provided by the parent (in this case the App widget) and
- // used by the build method of the State. Fields in a Widget subclass are
- // always marked "final".
-
final String title;
@override