mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-05-20 06:26:21 +08:00
fixes issue #48
This commit is contained in:
@ -17,7 +17,7 @@ class MyGetHttpData extends StatefulWidget {
|
|||||||
|
|
||||||
// Create the state for our stateful widget
|
// Create the state for our stateful widget
|
||||||
class MyGetHttpDataState extends State<MyGetHttpData> {
|
class MyGetHttpDataState extends State<MyGetHttpData> {
|
||||||
final String url = "https://swapi.co/api/people";
|
final String url = "https://swapi.dev/api/people";
|
||||||
List data;
|
List data;
|
||||||
|
|
||||||
// Function to get the JSON data
|
// Function to get the JSON data
|
||||||
|
Reference in New Issue
Block a user