I need to use upgrader plugin for myapps, because i need to use the auto update on ios too. But the problem is i don't know how to use it. And my apps looks like this. 
and here is my code
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:mobile7/class/login.dart';
import 'package:upgrader/upgrader.dart';
class CheckUpdate extends StatefulWidget {
static const String id = 'login_screen';
@override
_CheckUpdateState createState() => _CheckUpdateState();
}
class _CheckUpdateState extends State<CheckUpdate> {
final Login login = Login();
bool isLoading = true;
@override
Widget build(BuildContext context) {
return SafeArea(
child: Scaffold(
appBar: AppBar(
title: Text('Upgrade Example'),
),
body: _checkPlatform()),
);
}
}
Widget _checkPlatform() {
Widget upgraderAlert;
if (Platform.isAndroid) {
upgraderAlert = UpgradeAlert(
dialogStyle: UpgradeDialogStyle.cupertino,
child: Center(child: Text('Checking...')),
);
} else if (Platform.isAndroid) {
upgraderAlert = UpgradeAlert(
dialogStyle: UpgradeDialogStyle.cupertino,
child: Center(child: Text('Checking...')),
);
}
return upgraderAlert;
}
i read the documentation and it's says that i just need to wrap it up in that UpgraderAlert but it's didn't do anything help me solve this
here is upgrader plugin https://pub.dev/packages/upgrader