App flutter openemr debug problem

Hello I hav downloaded the android client from here

I am trying to runnit debug it from Android Studio 4.1.2 but I get the error message
Error: The getter ‘body1’ isn’t defined for the class ‘TextTheme’.
- ‘TextTheme’ is from ‘package:flutter/src/material/text_theme.dart’ (’…/…/flutter/packages/flutter/lib/src/material/text_theme.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘body1’.
color ??= Theme.of(context).textTheme.body1.color;

Can someone help me ?

hi @Christoforos_Korifid, would post that as an issue.

Sorry, should I posted as an issue ?
If yes where ?

hi click on the an issue link above

Just change body1 to bodyText1 in the following location


this will solve the issue

1 Like