flutter_lxp_date 0.0.2

Flutter Android iOS

A Get Time Flutter plugin.

flutter_lxp_date #

A Get Time Flutter plugin.

Usage # To use this plugin, add flutterlxpdate as a dependency in your pubspec.yaml file.

Example #

import 'package:flutter/material.dart'; import 'dart:async';

import 'package:flutter/services.dart'; import 'package:flutter_lxp_date/flutter_lxp_date.dart';

String platformTime; // Platform messages may fail, so we use a try/catch PlatformException. try { platformTime = await FlutterLxpDate.platformTime; } on PlatformException { platformTime = 'Failed to get platform time.'; }

0
likes
70
pub points
12%
popularity

A Get Time Flutter plugin.

Homepage

Documentation

API reference

Uploader

695343920@qq.com

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_lxp_date