nameH4 static method
Implementation
static Widget nameH4(
BuildContext context, String memberId, AppModel app, String feedId) {
return FutureBuilder<ProfileAttributes>(
future: _getProfileAttributes(memberId, app, feedId),
builder: (context, snapshot) {
if (snapshot.hasData) {
var profileAttributes = snapshot.data!;
return h4(app, context, profileAttributes.name);
}
return progressIndicator(app, context);
});
}