Add pdf rendering
This commit is contained in:
@@ -51,7 +51,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
),
|
||||
);
|
||||
} else if (snapshot.hasError) {
|
||||
return const Icon(Icons.error);
|
||||
return Text(snapshot.error.toString());
|
||||
} else {
|
||||
return const CircularProgressIndicator();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user