nameH2 static method
Implementation
static Widget nameH2(
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 h2(app, context, profileAttributes.name);
}
return progressIndicator(app, context);
});
}