yxw_comm_base_plus 0.0.1
yxw_comm_base_plus: ^0.0.1 copied to clipboard
一个内部使用的基础库
yxw_comm_base_plus #
A Flutter plugin that provides basic functionality for Android and iOS platforms.
Features #
- Get platform version
- Get device information
- Show toast messages
Installation #
Add the following dependency to your pubspec.yaml file:
dependencies:
yxw_comm_base_plus:
path: /path/to/yxw_comm_base_plus
Usage #
import 'package:yxw_comm_base_plus/yxw_comm_base_plus.dart';
// Get platform version
String? platformVersion = await YxwCommBasePlus.platformVersion;
// Get device information
String? deviceInfo = await YxwCommBasePlus.deviceInfo;
// Show toast message
await YxwCommBasePlus.showToast('Hello from Flutter Plugin!');
Platform Support #
- Android: ✅
- iOS: ✅