Giter Club home page Giter Club logo

flutter_medical's Introduction

flutter_medical

Functioning Doctor/Healthcare Catalog & Scheduling App created using Dart with Flutter. Stores and loads data from noSQL Firebase.

Screenshot

Installation

git clone https://github.com/johnuberbacher/flutter_medical.git

flutter pub get

flutter run

TO-DO

  • Create Profile page
  • MyHealth edit profile details
  • Fix Top Doctors "view more"
  • Firebase Storage for user profile images and office gallery photos

Meta

John Uberbacher – johnuberbacher.com

flutter_medical's People

Contributors

johnuberbacher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flutter_medical's Issues

JDK is not valid

I am getting the following message after I connect the firebase...
I have installed JDK version 14.0.1 but it still looking for a jdk inside the jre directory.

Launching lib\main.dart on ONEPLUS A5000 in debug mode...
Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':firebase_core:compileDebugJavaWithJavac'.

Could not find tools.jar. Please check that C:\Program Files\Java\jre1.8.0_271 contains a valid JDK installation.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 16s
Exception: Gradle task assembleDebug failed with exit code 1

Not working, got red screen

Flutter version: 1.20.4
SO: W10 x64

Got this trace:
I/flutter (28331): The following NoSuchMethodError was thrown building HomeScreen(dirty, dependencies: [MediaQuery], I/flutter (28331): state: _HomeScreenState#1c7c2): I/flutter (28331): The getter 'length' was called on null. I/flutter (28331): Receiver: null I/flutter (28331): Tried calling: length I/flutter (28331): I/flutter (28331): The relevant error-causing widget was: I/flutter (28331): HomeScreen I/flutter (28331): file:///E:/bada/Documents/FAUSI/FLUTTER/OCTUBRE%202020/Flutter_medical/lib/main.dart:64:30 I/flutter (28331): I/flutter (28331): When the exception was thrown, this was the stack: I/flutter (28331): #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5) I/flutter (28331): #1 titleCase (package:flutter_medical/widgets.dart:369:12) I/flutter (28331): #2 _HomeScreenState.build (package:flutter_medical/routes/home.dart:415:50) I/flutter (28331): #3 StatefulElement.build (package:flutter/src/widgets/framework.dart:4744:28) I/flutter (28331): #4 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4627:15) I/flutter (28331): #5 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4800:11) I/flutter (28331): #6 Element.rebuild (package:flutter/src/widgets/framework.dart:4343:5) I/flutter (28331): #7 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2730:33) I/flutter (28331): #8 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:913:20) I/flutter (28331): #9 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:302:5) I/flutter (28331): #10 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1117:15) I/flutter (28331): #11 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1055:9) I/flutter (28331): #12 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:971:5) I/flutter (28331): #16 _invoke (dart:ui/hooks.dart:251:10) I/flutter (28331): #17 _drawFrame (dart:ui/hooks.dart:209:3) I/flutter (28331): (elided 3 frames from dart:async) I/flutter (28331): I/flutter (28331): ════════════════════════════════════════════════════════════════════════════════════════════════════ I/flutter (28331): Instance of 'QuerySnapshot' I/flutter (28331): worked I/flutter (28331): Instance of 'QuerySnapshot' I/flutter (28331): Instance of 'QuerySnapshot' I/flutter (28331): Another exception was thrown: NoSuchMethodError: The getter 'length' was called on null.

Unhandled Exception

after 'flutter run'
terminal shows:

Unhandled Exception: [core/not-initialized] Firebase has not been correctly initialized. Have you added the "GoogleService-Info.plist" file to the project?
Simulator Screen Shot - iPhone SE (2nd generation) - 2021-01-20 at 17 42 57

NoSuchMethodError After Creating Account

1stly thanks for this great work

I am getting a red screen after irunning the app. I am running it on a device and is shows a red screen with error:

NoSuchMethodError: The getter 'length' was called on null.

Receiver: null

Tried calling 'lenght'

See also: https://flutter.dev/docs/testing/errors

THE IDE DEBUGGER READS:


════════ Exception caught by widgets library ═══════════════════════════════════
The following NoSuchMethodError was thrown building:
The getter 'length' was called on null.
Receiver: null
Tried calling: length

When the exception was thrown, this was the stack
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1      titleCase
package:flutter_medical/widgets.dart:396
#2      _HomeScreenState.userHeader
package:flutter_medical/routes/home.dart:175
#3      _HomeScreenState.loadUserInfo.<anonymous closure>
package:flutter_medical/routes/home.dart:116
#4      SliverChildBuilderDelegate.build
package:flutter/…/widgets/sliver.dart:449
...
════════════════════════════════════════════════════════════════════════════════
W/System  (10106): ClassLoader referenced unknown path: system/framework/mediatek-cta.jar
I/System.out(10106): e:java.lang.ClassNotFoundException: com.mediatek.cta.CtaHttp

Also i note that there are no functions specified are they not required? And added to that the Database rules. any guidance on that?

When run app, error en service

Thanks for the application, I have the following error when I try to launch it.

`→ flutter run [9794f47]
Using hardware rendering with device Android SDK built for x86. If you notice graphics artifacts, consider enabling
software rendering with "--enable-software-rendering".
Launching lib/main.dart on Android SDK built for x86 in debug mode...

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugGoogleServices'.

File google-services.json is missing. The Google Services Plugin cannot function without it.
Searched Location:
/home/mario/tmp/flutter/flutter_medical/android/app/src/nullnull/google-services.json
/home/mario/tmp/flutter/flutter_medical/android/app/src/debug/google-services.json
/home/mario/tmp/flutter/flutter_medical/android/app/src/nullnullDebug/google-services.json
/home/mario/tmp/flutter/flutter_medical/android/app/src/nullnull/debug/google-services.json
/home/mario/tmp/flutter/flutter_medical/android/app/src/debug/nullnull/google-services.json
/home/mario/tmp/flutter/flutter_medical/android/app/google-services.json

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 12s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 12,7s
Exception: Gradle task assembleDebug failed with exit code 1
`

Android embedding v2

flutter pub get
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Warning
──────────────────────────────────────────────────────────────────────────────
Your Flutter application is created using an older version of the Android
embedding. It is being deprecated in favor of Android embedding v2. Follow the
steps at

https://flutter.dev/go/android-project-migration

Firebase permission problem

I am trying to configure my firebase database and i couldn't resolve this issue
I get this error when i am trying to sign in. The user exists but cannot login.
resim

It would be very helpful to have firebase rules and database scheme.

Cant run the app as google-services.json is missing

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1m 44s
Running "flutter pub get" in flutter_medical...
Launching lib\main.dart on Android SDK built for x86 64 in debug mode...
lib\main.dart:1
Parameter format not correct -

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugGoogleServices'.

File google-services.json is missing. The Google Services Plugin cannot function without it.
Searched Location:
D:\Programming Essentials\Open Source\flutter_medical\android\app\src\nullnull\google-services.json
D:\Programming Essentials\Open Source\flutter_medical\android\app\src\debug\google-services.json
D:\Programming Essentials\Open Source\flutter_medical\android\app\src\nullnullDebug\google-services.json
D:\Programming Essentials\Open Source\flutter_medical\android\app\src\nullnull\debug\google-services.json
D:\Programming Essentials\Open Source\flutter_medical\android\app\src\debug\nullnull\google-services.json
D:\Programming Essentials\Open Source\flutter_medical\android\app\google-services.json
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.