redltd_rilac

RilacPMS(Point Management System)

Getting Started

Use

import 'package:redltd_rilac/redltd_rilac.dart';

RedltdRilac.config(baseURL: "", userName: "", userPassword: "", module: "", customerMobileNumber: "");
Variable Name Description Default Value
baseURL provide from service holder localhost
userName provide from service holder your-userName
userPassword provide from service holder your-userPassword
module provide from service holder your-api-key
customerMobileNumber Login User number your-loginNumber

Device information

*Note: using this code get to device info(if needed)

import 'package:device_info_plus/device_info_plus.dart';

DeviceInfoPlugin deviceInfo = DeviceInfoPlugin();
late AndroidDeviceInfo androidInfo; 
late IosDeviceInfo iosInfo;
    
if (Platform.isAndroid) {   
  androidInfo = await deviceInfo.androidInfo;
} else if (Platform.isIOS) {   
  iosInfo = await deviceInfo.iosInfo;
}

String deviceOS = Platform.isAndroid ? androidInfo.version.release : iosInfo.systemVersion; 
String deviceBrand = Platform.isAndroid ? androidInfo.brand : 'Apple'; 
String deviceModel = Platform.isAndroid ? androidInfo.model : iosInfo.utsname.machine;
String uniqueId = Platform.isAndroid ? androidInfo.id : iosInfo.identifierForVendor ?? "";

Example:

Demo example

for more visit Rilac Documentation

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.