title: Not showing value
body: <p>Passing pid as a parameter for getting particular data of user in URL to fetch data But I can't able to get data in the app but in console, its shows right 
  What should I do??
  Posting two images below one is output of the console and another one is  of the app</p>
  
  <pre><code>import 'dart:convert';
  import 'package:flutter/material.dart';
  import 'package:http/http.dart' as http;
  
  class userPage extends StatefulWidget {
    int id;
    userPage({this.id});
    @override
    _userPageState createState() =&gt; _userPageState();
  }
  
  class _userPageState extends State&lt;userPage&gt; {
    String person_full_name;
    String person_gender;
    String person_age;
    String person_phone;
    String person_address;
    String person_pic;
  
    FetchData() async{
      var response = await http.get("https://dev.uneva.in/task_721/patient.php?id=${widget.id}");
      if(response.statusCode ==200){
        var data = json.decode(response.body);
        print(data['person_full_name']);
        person_full_name = data['person_full_name'];
        person_gender = data['person_gender'];
        person_age = data['person_age'];
        person_phone = data['person_phone'];
        person_address = data['person_address'];
        person_pic = data['person_pic'];
      }
      else{
        print("Something went wrong");
      }
    }
  
    @override
    void initState(){
      FetchData();
    }
  
    Widget build(BuildContext context) {
      return Scaffold(
        appBar: AppBar(
          title: Text('$person_full_name'),
        ),
      );
    }
  }
  
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/YPBxX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YPBxX.png" alt="This is the result that I got in console"></a></p>
  
  <p><a href="https://i.stack.imgur.com/FC718.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FC718.png" alt="This is what I got in the App instead of showing name it show null"></a></p>