Commit d5a51aa8 authored by Bruno Breyer Garcia's avatar Bruno Breyer Garcia
Browse files

Merge branch 'mascara-no-login' into 'US028'

Mascara no login

See merge request !19
parents 2d3c8a84 35f04678
Showing with 121 additions and 96 deletions
+121 -96
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"cloud_firestore","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.1.10/","dependencies":["firebase_core"]},{"name":"firebase_auth","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.3.11/","dependencies":["firebase_core"]},{"name":"firebase_core","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.13.1/","dependencies":[]},{"name":"firebase_storage","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage-10.2.9/","dependencies":["firebase_core"]},{"name":"path_provider_ios","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.8/","dependencies":[]},{"name":"scan","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/scan-1.6.0/","dependencies":[]}],"android":[{"name":"cloud_firestore","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.1.10/","dependencies":["firebase_core"]},{"name":"firebase_auth","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.3.11/","dependencies":["firebase_core"]},{"name":"firebase_core","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.13.1/","dependencies":[]},{"name":"firebase_storage","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage-10.2.9/","dependencies":["firebase_core"]},{"name":"path_provider_android","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.12/","dependencies":[]},{"name":"scan","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/scan-1.6.0/","dependencies":[]}],"macos":[{"name":"cloud_firestore","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.1.10/","dependencies":["firebase_core"]},{"name":"firebase_auth","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.3.11/","dependencies":["firebase_core"]},{"name":"firebase_core","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.13.1/","dependencies":[]},{"name":"firebase_storage","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage-10.2.9/","dependencies":["firebase_core"]},{"name":"path_provider_macos","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.5/","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.5/","dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.5/","dependencies":[]}],"web":[{"name":"cloud_firestore_web","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.10/","dependencies":["firebase_core_web"]},{"name":"firebase_auth_web","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-3.3.9/","dependencies":["firebase_core_web"]},{"name":"firebase_core_web","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.1/","dependencies":[]},{"name":"firebase_storage_web","path":"/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage_web-3.2.10/","dependencies":["firebase_core_web"]}]},"dependencyGraph":[{"name":"cloud_firestore","dependencies":["cloud_firestore_web","firebase_core"]},{"name":"cloud_firestore_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"firebase_auth","dependencies":["firebase_auth_web","firebase_core"]},{"name":"firebase_auth_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"firebase_core","dependencies":["firebase_core_web"]},{"name":"firebase_core_web","dependencies":[]},{"name":"firebase_storage","dependencies":["firebase_core","firebase_storage_web"]},{"name":"firebase_storage_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_ios","path_provider_linux","path_provider_macos","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_ios","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"scan","dependencies":[]}],"date_created":"2022-05-14 14:59:00.030547","version":"2.10.4"}
\ No newline at end of file
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"cloud_firestore","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\cloud_firestore-3.1.10\\\\","dependencies":["firebase_core"]},{"name":"firebase_auth","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_auth-3.3.11\\\\","dependencies":["firebase_core"]},{"name":"firebase_core","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_core-1.13.1\\\\","dependencies":[]},{"name":"firebase_storage","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_storage-10.2.9\\\\","dependencies":["firebase_core"]},{"name":"path_provider_ios","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_ios-2.0.8\\\\","dependencies":[]},{"name":"scan","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\scan-1.6.0\\\\","dependencies":[]}],"android":[{"name":"cloud_firestore","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\cloud_firestore-3.1.10\\\\","dependencies":["firebase_core"]},{"name":"firebase_auth","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_auth-3.3.11\\\\","dependencies":["firebase_core"]},{"name":"firebase_core","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_core-1.13.1\\\\","dependencies":[]},{"name":"firebase_storage","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_storage-10.2.9\\\\","dependencies":["firebase_core"]},{"name":"path_provider_android","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_android-2.0.12\\\\","dependencies":[]},{"name":"scan","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\scan-1.6.0\\\\","dependencies":[]}],"macos":[{"name":"cloud_firestore","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\cloud_firestore-3.1.10\\\\","dependencies":["firebase_core"]},{"name":"firebase_auth","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_auth-3.3.11\\\\","dependencies":["firebase_core"]},{"name":"firebase_core","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_core-1.13.1\\\\","dependencies":[]},{"name":"firebase_storage","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_storage-10.2.9\\\\","dependencies":["firebase_core"]},{"name":"path_provider_macos","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_macos-2.0.5\\\\","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_linux-2.1.5\\\\","dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_windows-2.0.5\\\\","dependencies":[]}],"web":[{"name":"cloud_firestore_web","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\cloud_firestore_web-2.6.10\\\\","dependencies":["firebase_core_web"]},{"name":"firebase_auth_web","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_auth_web-3.3.9\\\\","dependencies":["firebase_core_web"]},{"name":"firebase_core_web","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_core_web-1.6.1\\\\","dependencies":[]},{"name":"firebase_storage_web","path":"C:\\\\Users\\\\bruno.garcia99\\\\Documents\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_storage_web-3.2.10\\\\","dependencies":["firebase_core_web"]}]},"dependencyGraph":[{"name":"cloud_firestore","dependencies":["cloud_firestore_web","firebase_core"]},{"name":"cloud_firestore_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"firebase_auth","dependencies":["firebase_auth_web","firebase_core"]},{"name":"firebase_auth_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"firebase_core","dependencies":["firebase_core_web"]},{"name":"firebase_core_web","dependencies":[]},{"name":"firebase_storage","dependencies":["firebase_core","firebase_storage_web"]},{"name":"firebase_storage_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_ios","path_provider_linux","path_provider_macos","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_ios","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"scan","dependencies":[]}],"date_created":"2022-05-15 15:22:46.058145","version":"2.10.4"}
\ No newline at end of file
......@@ -3,66 +3,66 @@
#
# For more info see: https://dart.dev/go/dot-packages-deprecation
#
# Generated by pub on 2022-05-14 02:14:30.123040.
async:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.8.2/lib/
boolean_selector:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/lib/
characters:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.2.0/lib/
charcode:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.3.1/lib/
clock:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0/lib/
cloud_firestore:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.1.10/lib/
cloud_firestore_platform_interface:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_platform_interface-5.5.1/lib/
cloud_firestore_web:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.10/lib/
collection:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0/lib/
crypto:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/crypto-3.0.1/lib/
cupertino_icons:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-1.0.4/lib/
fake_async:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0/lib/
ffi:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.1.2/lib/
file:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/file-6.1.2/lib/
firebase_auth:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.3.11/lib/
firebase_auth_platform_interface:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_platform_interface-6.2.1/lib/
firebase_auth_web:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-3.3.9/lib/
firebase_core:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.13.1/lib/
firebase_core_platform_interface:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_platform_interface-4.2.5/lib/
firebase_core_web:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.1/lib/
firebase_storage:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage-10.2.9/lib/
firebase_storage_platform_interface:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage_platform_interface-4.1.1/lib/
firebase_storage_web:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage_web-3.2.10/lib/
flutter:file:///D:/flutter_windows_2.10.4-stable/flutter/packages/flutter/lib/
flutter_lints:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_lints-1.0.4/lib/
flutter_test:file:///D:/flutter_windows_2.10.4-stable/flutter/packages/flutter_test/lib/
flutter_web_plugins:file:///D:/flutter_windows_2.10.4-stable/flutter/packages/flutter_web_plugins/lib/
google_fonts:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/google_fonts-2.3.1/lib/
http:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.13.4/lib/
http_parser:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/http_parser-4.0.0/lib/
intl:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/intl-0.17.0/lib/
js:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/js-0.6.3/lib/
lints:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/lints-1.0.1/lib/
matcher:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.11/lib/
material_color_utilities:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/material_color_utilities-0.1.3/lib/
meta:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.7.0/lib/
nested:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/nested-1.0.0/lib/
path:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0/lib/
path_provider:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.9/lib/
path_provider_android:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.12/lib/
path_provider_ios:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.8/lib/
path_provider_linux:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.5/lib/
path_provider_macos:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.5/lib/
path_provider_platform_interface:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_platform_interface-2.0.3/lib/
path_provider_windows:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.5/lib/
platform:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/platform-3.1.0/lib/
plugin_platform_interface:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/plugin_platform_interface-2.1.2/lib/
process:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/process-4.2.4/lib/
provider:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/provider-6.0.2/lib/
scan:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/scan-1.6.0/lib/
sky_engine:file:///D:/flutter_windows_2.10.4-stable/flutter/bin/cache/pkg/sky_engine/lib/
source_span:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.1/lib/
stack_trace:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0/lib/
stream_channel:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0/lib/
string_scanner:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0/lib/
term_glyph:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0/lib/
test_api:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.8/lib/
typed_data:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0/lib/
vector_math:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.1/lib/
win32:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.5.1/lib/
xdg_directories:file:///D:/flutter_windows_2.10.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/xdg_directories-0.2.0+1/lib/
# Generated by pub on 2022-05-14 22:12:34.705095.
async:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.8.2/lib/
boolean_selector:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/lib/
characters:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.2.0/lib/
charcode:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.3.1/lib/
clock:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0/lib/
cloud_firestore:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.1.10/lib/
cloud_firestore_platform_interface:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_platform_interface-5.5.1/lib/
cloud_firestore_web:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.10/lib/
collection:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0/lib/
crypto:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/crypto-3.0.1/lib/
cupertino_icons:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-1.0.4/lib/
fake_async:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0/lib/
ffi:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.1.2/lib/
file:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/file-6.1.2/lib/
firebase_auth:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.3.11/lib/
firebase_auth_platform_interface:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_platform_interface-6.2.1/lib/
firebase_auth_web:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-3.3.9/lib/
firebase_core:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.13.1/lib/
firebase_core_platform_interface:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_platform_interface-4.2.5/lib/
firebase_core_web:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.1/lib/
firebase_storage:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage-10.2.9/lib/
firebase_storage_platform_interface:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage_platform_interface-4.1.1/lib/
firebase_storage_web:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage_web-3.2.10/lib/
flutter:file:///C:/Users/bruno.garcia99/Documents/flutter/packages/flutter/lib/
flutter_lints:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_lints-1.0.4/lib/
flutter_test:file:///C:/Users/bruno.garcia99/Documents/flutter/packages/flutter_test/lib/
flutter_web_plugins:file:///C:/Users/bruno.garcia99/Documents/flutter/packages/flutter_web_plugins/lib/
google_fonts:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/google_fonts-2.3.1/lib/
http:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.13.4/lib/
http_parser:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/http_parser-4.0.0/lib/
intl:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/intl-0.17.0/lib/
js:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/js-0.6.3/lib/
lints:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/lints-1.0.1/lib/
matcher:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.11/lib/
material_color_utilities:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/material_color_utilities-0.1.3/lib/
meta:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.7.0/lib/
nested:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/nested-1.0.0/lib/
path:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0/lib/
path_provider:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.9/lib/
path_provider_android:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.12/lib/
path_provider_ios:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.8/lib/
path_provider_linux:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.5/lib/
path_provider_macos:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.5/lib/
path_provider_platform_interface:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_platform_interface-2.0.3/lib/
path_provider_windows:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.5/lib/
platform:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/platform-3.1.0/lib/
plugin_platform_interface:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/plugin_platform_interface-2.1.2/lib/
process:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/process-4.2.4/lib/
provider:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/provider-6.0.2/lib/
scan:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/scan-1.6.0/lib/
sky_engine:file:///C:/Users/bruno.garcia99/Documents/flutter/bin/cache/pkg/sky_engine/lib/
source_span:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.1/lib/
stack_trace:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0/lib/
stream_channel:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0/lib/
string_scanner:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0/lib/
term_glyph:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0/lib/
test_api:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.8/lib/
typed_data:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0/lib/
vector_math:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.1/lib/
win32:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.5.1/lib/
xdg_directories:file:///C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/xdg_directories-0.2.0+1/lib/
diario_das_emocoes:lib/
......@@ -2,7 +2,7 @@ import 'package:diario_das_emocoes/features/login/login.repository.dart';
import 'package:diario_das_emocoes/shared/models/grade.model.dart';
import 'package:flutter/material.dart';
class LoginPresenter extends ChangeNotifier {
class LoginController extends ChangeNotifier {
final LoginRepository _repository = LoginRepository();
late GradeModel _turma;
......@@ -27,10 +27,20 @@ class LoginPresenter extends ChangeNotifier {
if (token == "admin") {
_isAdmin = true;
notifyListeners();
_turma = GradeModel(
name: "admin",
code: "admin",
emails: [],
teacherReference: "admin",
year: 1,
students: []);
} else {
if (token.length > 4) {
_hasValidToken = _repository.exists(token);
notifyListeners();
_turma = _repository.getTurma(token);
}
}
}
......
import '../../shared/state/grade-list/grade-list.controller.dart';
import 'package:diario_das_emocoes/shared/models/grade.model.dart';
import 'package:diario_das_emocoes/shared/state/grade-list/grade-list.controller.dart';
class LoginRepository {
GradeListController turmas = GradeListController();
......@@ -6,10 +7,15 @@ class LoginRepository {
bool exists(String? id) {
late bool response = false;
for (var turma in turmas.list) {
if (turma.name.toLowerCase() == id!.toLowerCase()) {
if (turma.code.toLowerCase() == id!.toLowerCase()) {
response = true;
}
}
return response;
}
GradeModel getTurma(String id) {
return turmas.list
.firstWhere((turma) => turma.code.toLowerCase() == id.toLowerCase());
}
}
......@@ -5,7 +5,7 @@ import 'package:diario_das_emocoes/Routes.dart';
import 'package:provider/provider.dart';
import '../../shared/constants.shared.dart';
import 'login.presenter.dart';
import 'login.controller.dart';
class LoginScreen extends StatefulWidget {
const LoginScreen({Key? key}) : super(key: key);
......@@ -17,13 +17,13 @@ class LoginScreen extends StatefulWidget {
class _LoginScreenState extends State<LoginScreen> {
final token = TextEditingController();
late final LoginPresenter loginPresenter;
late final LoginController loginPresenter;
@override
void initState() {
super.initState();
final loginPresenter = context.read<LoginPresenter>();
final loginPresenter = context.read<LoginController>();
loginPresenter.addListener(() {
if (loginPresenter.isAdmin) {
......@@ -134,9 +134,10 @@ class _LoginScreenState extends State<LoginScreen> {
child: SizedBox(
height: size.height * 0.0976,
width: size.height * 0.254,
child: Consumer<LoginPresenter>(
child: Consumer<LoginController>(
builder: (context, loginPresenter, child) {
return TextField(
obscureText: true,
controller: token,
onChanged: (fieldData) =>
loginPresenter.checkToken(fieldData),
......
import 'dart:developer';
import 'package:diario_das_emocoes/features/login/login.controller.dart';
import 'package:diario_das_emocoes/features/login/pages/qrcode-enum.state.dart';
import 'package:diario_das_emocoes/features/login/pages/qrcode.repository.dart';
import 'package:flutter/material.dart';
class QrcodePresenter extends ChangeNotifier {
class QrcodeController extends ChangeNotifier {
final QrcodeRepository _repository = QrcodeRepository();
final LoginController _loginController = LoginController();
var _state = QrcodeLoginState.idle;
late final bool _turma;
......@@ -18,11 +20,11 @@ class QrcodePresenter extends ChangeNotifier {
notifyListeners();
if (turma) {
log("\n\nSUCESSO\n\n");
_loginController.checkToken(turmaId);
_state = QrcodeLoginState.success;
notifyListeners();
} else {
log("\n\nFALHAAAA\n\n");
_state = QrcodeLoginState.error;
notifyListeners();
}
......
import 'dart:io';
import 'package:diario_das_emocoes/features/login/login.controller.dart';
import 'package:diario_das_emocoes/features/login/pages/qrcode-enum.state.dart';
import 'package:diario_das_emocoes/features/login/pages/qrcode.presenter.dart';
import 'package:diario_das_emocoes/features/login/pages/qrcode.controller.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:scan/scan.dart';
......@@ -19,19 +20,29 @@ class _QrcodeScreenState extends State<QrcodeScreen> {
ScanController controller = ScanController();
String qrcode = 'Unknown';
late final QrcodePresenter qrcodePresenter;
late final QrcodeController qrcodeController;
late final LoginController loginController;
@override
void initState() {
super.initState();
final qrcodePresenter = context.read<QrcodePresenter>();
final loginController = context.read<LoginController>();
final qrcodeController = context.read<QrcodeController>();
qrcodePresenter.addListener(() {
if (qrcodePresenter.state == QrcodeLoginState.success) {
qrcodeController.addListener(() {
if (qrcodeController.state == QrcodeLoginState.success) {
//Sucesso -> Passa pra pagina home
Navigator.pushNamed(context, Routes.adminScreen);
} else if (qrcodePresenter.state == QrcodeLoginState.error) {
if (loginController.isAdmin) {
loginController.setIsAdmin(false);
//Sucesso -> Passa pra pagina admin
Navigator.pushNamed(context, Routes.adminScreen);
} else if (loginController.hasValidToken) {
loginController.setHasValidToken(false);
//Sucesso -> Passa pra pagina de home
Navigator.pushNamed(context, Routes.loginScreen);
}
} else if (qrcodeController.state == QrcodeLoginState.error) {
//Falha -> Fica na mesma página e da refresh no leitor de QR
controller.resume();
}
......@@ -40,8 +51,6 @@ class _QrcodeScreenState extends State<QrcodeScreen> {
@override
void dispose() {
//Perguntar pro Joseph, o que é isso aqui?
super.dispose();
}
......@@ -51,8 +60,8 @@ class _QrcodeScreenState extends State<QrcodeScreen> {
return Scaffold(
body: Center(
child: Consumer<QrcodePresenter>(
builder: (context, qrcodePresenter, child) {
child: Consumer<QrcodeController>(
builder: (context, qrcodeController, child) {
return SizedBox(
child: SizedBox(
width: size.width,
......@@ -62,12 +71,9 @@ class _QrcodeScreenState extends State<QrcodeScreen> {
scanAreaScale: .6,
scanLineColor: Colors.blue.shade400,
onCapture: (data) {
setState(() {
qrcode = data;
});
qrcodePresenter.logIn(data);
qrcodeController.logIn(data);
if (qrcodePresenter.state == QrcodeLoginState.error) {
if (qrcodeController.state == QrcodeLoginState.error) {
sleep(const Duration(seconds: 2));
controller.resume();
}
......
......@@ -9,8 +9,8 @@ import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:provider/provider.dart';
import 'features/login/login.presenter.dart';
import 'features/login/pages/qrcode.presenter.dart';
import 'features/login/login.controller.dart';
import 'features/login/pages/qrcode.controller.dart';
Future<void> main() async {
try {
......@@ -26,10 +26,10 @@ Future<void> main() async {
runApp(
MultiProvider(
providers: [
ChangeNotifierProvider(create: (_) => LoginPresenter()),
ChangeNotifierProvider(create: (_) => LoginController()),
ChangeNotifierProvider(create: (_) => StudentListController()),
ChangeNotifierProvider(create: (_) => GradeListController()),
ChangeNotifierProvider(create: (_) => QrcodePresenter()),
ChangeNotifierProvider(create: (_) => QrcodeController()),
ChangeNotifierProvider(create: (_) => SearchBarController()),
],
child: const MyApp(),
......@@ -39,10 +39,10 @@ Future<void> main() async {
runApp(
MultiProvider(
providers: [
ChangeNotifierProvider(create: (_) => LoginPresenter()),
ChangeNotifierProvider(create: (_) => LoginController()),
ChangeNotifierProvider(create: (_) => StudentListController()),
ChangeNotifierProvider(create: (_) => GradeListController()),
ChangeNotifierProvider(create: (_) => QrcodePresenter()),
ChangeNotifierProvider(create: (_) => QrcodeController()),
ChangeNotifierProvider(create: (_) => SearchBarController()),
],
child: const MyApp(),
......
/Users/pedrosemensato/FlutterFolder/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.5/
\ No newline at end of file
C:/Users/bruno.garcia99/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.5/
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment