View mainScreen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// import 'package:audio_playere_tet/onlinevideo.dart'; | |
import 'package:flutter/material.dart'; | |
import 'localaudio.dart' as la; | |
// import 'localvideo.dart' as lv; | |
import 'onlineaudio.dart' as oa; | |
import 'onlinevideo.dart' as ov; | |
class MyTabs extends StatefulWidget { | |
@override | |
MyTabsState createState() => new MyTabsState(); |
View CMD.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python3 | |
import cgi | |
import subprocess | |
import json | |
print("content-type: text/html") | |
print() | |
user_input = cgi.FieldStorage() |
View task3flutter-main.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:firebase_core/firebase_core.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:fluttert3/screens/terminal.dart'; | |
import 'package:fluttert3/screens/login.dart'; | |
import 'package:fluttert3/screens/registration.dart'; | |
void main() async { | |
WidgetsFlutterBinding.ensureInitialized(); | |
await Firebase.initializeApp(); |
View task3flutter-registration.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:firebase_auth/firebase_auth.dart'; | |
import 'package:flutter/material.dart'; | |
class Registration extends StatefulWidget { | |
@override | |
_RegistrationState createState() => _RegistrationState(); | |
} | |
class _RegistrationState extends State<Registration> { | |
var authc = FirebaseAuth.instance; |
View task3flutter-login.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:firebase_auth/firebase_auth.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:modal_progress_hud/modal_progress_hud.dart'; | |
class MyLogin extends StatefulWidget { | |
@override | |
_MyLoginState createState() => _MyLoginState(); | |
} | |
class _MyLoginState extends State<MyLogin> { |
View task3flutter-terminal.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:cloud_firestore/cloud_firestore.dart'; | |
import 'package:firebase_auth/firebase_auth.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:http/http.dart' as http; | |
class Terminal extends StatefulWidget { | |
@override | |
_TerminalState createState() => _TerminalState(); | |
} |
View task4flutter-registration.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:firebase_auth/firebase_auth.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:modal_progress_hud/modal_progress_hud.dart'; | |
class SignUpUsingEmail extends StatefulWidget { | |
@override | |
_SignUpUsingEmailState createState() => _SignUpUsingEmailState(); | |
} | |
class _SignUpUsingEmailState extends State<SignUpUsingEmail> { |
View task4flutter-login.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:firebase_auth/firebase_auth.dart'; | |
import 'package:modal_progress_hud/modal_progress_hud.dart'; | |
class LogIn extends StatefulWidget { | |
@override | |
_LogInState createState() => _LogInState(); | |
} | |
class _LogInState extends State<LogIn> { |
View task4-terminal.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:convert'; | |
import 'package:firebase_auth/firebase_auth.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:cloud_firestore/cloud_firestore.dart'; | |
import 'package:http/http.dart' as http; | |
class Body extends StatefulWidget { | |
@override | |
_BodyState createState() => _BodyState(); | |
} |
View task4-homepage.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'cmd.dart'; | |
import 'package:firebase_auth/firebase_auth.dart'; | |
import 'package:flutter/material.dart'; | |
class HomePage extends StatefulWidget { | |
@override | |
_HomePageState createState() => _HomePageState(); | |
} | |
class _HomePageState extends State<HomePage> { |
OlderNewer