This commit is contained in:
Daniel 2024-08-10 14:24:28 -04:00
parent bdd4c4bf4d
commit e64948bef5
4 changed files with 22 additions and 2 deletions

View file

@ -1,7 +1,10 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'views/radio.dart'; import 'views/radio.dart';
import 'controller/ws.dart';
void main() { void main() {
LiveFeeder f = LiveFeeder();
f.init();
runApp(const MyApp()); runApp(const MyApp());
} }

View file

@ -1,6 +1,6 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'lcd.dart'; import '../../views/lcd.dart';
import 'keypad.dart'; import '../../views/keypad.dart';
class MainRadio extends StatefulWidget { class MainRadio extends StatefulWidget {
const MainRadio({super.key, required this.title}); const MainRadio({super.key, required this.title});

View file

@ -344,6 +344,22 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.0.0" version: "1.0.0"
web_socket:
dependency: transitive
description:
name: web_socket
sha256: "3c12d96c0c9a4eec095246debcea7b86c0324f22df69893d538fcc6f1b8cce83"
url: "https://pub.dev"
source: hosted
version: "0.1.6"
web_socket_channel:
dependency: "direct main"
description:
name: web_socket_channel
sha256: "9f187088ed104edd8662ca07af4b124465893caf063ba29758f97af57e61da8f"
url: "https://pub.dev"
source: hosted
version: "3.0.1"
xdg_directories: xdg_directories:
dependency: transitive dependency: transitive
description: description:

View file

@ -38,6 +38,7 @@ dependencies:
google_fonts: ^6.2.1 google_fonts: ^6.2.1
fixnum: ^1.1.0 fixnum: ^1.1.0
protobuf: ^3.1.0 protobuf: ^3.1.0
web_socket_channel: ^3.0.1
dev_dependencies: dev_dependencies:
flutter_test: flutter_test: