App Package Info
Sun Oct 15 2023 21:02:17 GMT+0000 (Coordinated Universal Time)
Saved by
@kjust448
#package_info_plus
// Automatic FlutterFlow imports
import '/backend/backend.dart';
import '/backend/schema/structs/index.dart';
import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
import '/custom_code/actions/index.dart'; // Imports other custom actions
import '/flutter_flow/custom_functions.dart'; // Imports custom functions
import 'package:flutter/material.dart';
// Begin custom action code
// DO NOT REMOVE OR MODIFY THE CODE ABOVE!
import 'dart:async';
import 'package:package_info_plus/package_info_plus.dart';
Future<String> appPackageInfo() async {
// Add your function code here!
PackageInfo info = await PackageInfo.fromPlatform();
String output = info.version;
return output;
}
// Set your action name, define your arguments and return parameter,
// and then add the boilerplate code using the button on the right!
content_copyCOPY
Comments