typing fix
This commit is contained in:
@@ -84,13 +84,12 @@ class _MIHProfileGetterState extends State<MIHProfileGetter> {
|
|||||||
@override
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
//profile = getProfile();
|
//profile = getProfile();
|
||||||
|
profile = MIHApiCalls().getProfile(amount);
|
||||||
super.initState();
|
super.initState();
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
profile = MIHApiCalls().getProfile(amount);
|
|
||||||
return FutureBuilder(
|
return FutureBuilder(
|
||||||
future: profile,
|
future: profile,
|
||||||
builder: (BuildContext context, snapshot) {
|
builder: (BuildContext context, snapshot) {
|
||||||
|
|||||||
Reference in New Issue
Block a user