@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(jsonDecode(data)['title']['rendered']),
),
body:
FutureBuilder(
builder: (context, projectSnap) {
if (projectSnap.connectionState == ConnectionState.none &&
projectSnap.hasData == null) {
return CircularProgressIndicator();
}
else {
Html(
data: jsonDecode(data)['content']['rendered'],
blockSpacing: 0.0,
),
}