persian_toolbox

Last updated:

0 purchases

persian_toolbox Image
persian_toolbox Images
Add to Cart

Description:

persian toolbox

Persian Toolbox #
A library that includes tools needed by Flutter developers
Install Package #
Add the following line to your pubspec.yaml under dependencies:
dependencies:
persian_toolbox: ^0.0.1
copied to clipboard
Then run:
flutter pub get
copied to clipboard
Usage #
import 'package:persian_toolbox/persian_toolbox.dart';
copied to clipboard
const MapWidget(
latitude: 35.785843522589396,
longitude: 51.317320018994764,
height: 200,
margin: EdgeInsets.all(20),
),
copied to clipboard
MapLocationWidget(
margin: const EdgeInsets.all(20),
latitude: 35.785843522589396,
longitude: 51.317320018994764,
onLocationChanged: (latLng) {
debugPrint(
'Latitude: ${latLng.latitude}, Longitude: ${latLng.longitude}');
},
),
copied to clipboard
ArmyPlate(width: 400, enable: true,),
copied to clipboard
GeneralPlate(width: 500, enable: true,),
copied to clipboard
RetryWidget(
onPressed: () {} ,
message: 'message',
label: 'label',
),
copied to clipboard
DatesWidget(
days: [
DayModel(
id: 1,
name: 'دوشنبه',
date: '12',
isSelected: false,
),
DayModel(
id: 2,
name: 'سه شنبه',
date: '13',
isSelected: true,
),
DayModel(
id: 3,
name: 'چهار شنبه',
date: '14',
isSelected: false,
),
DayModel(
id: 4,
name: 'پنج شنبه',
date: '15',
isSelected: false,
),
DayModel(
id: 5,
name: 'جمعه',
date: '16',
isSelected: false,
),
],
selectedItemColor: Colors.orange,
unSelectedItemColor: Colors.white,
),
copied to clipboard
Text(
getDifferenceInDays(
start: '2023-08-01',
end: '2023-09-01',
),
),
copied to clipboard
License #
MIT

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.