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?