uptime_x 0.0.6 copy "uptime_x: ^0.0.6" to clipboard
uptime_x: ^0.0.6 copied to clipboard

outdated

A new flutter plugin project.

example/lib/main.dart

import 'dart:async';

import 'package:flutter/services.dart';

class Uptime {
  static const MethodChannel _channel = const MethodChannel('uptime_x');

  static Future<int> get uptime async {
    final int uptime = await _channel.invokeMethod('getUptime');
    return uptime;
  }
}
0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

A new flutter plugin project.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on uptime_x