app_version 0.0.1 app_version: ^0.0.1 copied to clipboard
This is a Flutter widget that checks and displays the version status of application and you can easily guide user to update your app.
// Copyright (c) 2021, Kato Shinya. All rights reserved.
// Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:app_version/app_version.dart';
import 'package:flutter/material.dart';
class DemoAppVersion extends StatelessWidget {
const DemoAppVersion({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) => Scaffold(
appBar: AppBar(
title: const Text('Sample For App Version'),
),
body: const Center(
child: AppVersion(),
),
);
}