ahmedoid / hijri_picker Goto Github PK
View Code? Open in Web Editor NEWFlutter Widget to Pick Hijri Calendar Dates
License: BSD 2-Clause "Simplified" License
Flutter Widget to Pick Hijri Calendar Dates
License: BSD 2-Clause "Simplified" License
I have the latest version of Flutter and I have used this plugin, so please update the Flutter version of the plugin.
Hello I see that there is one day difference between showed date and real date.
When It is 18th Safar,it shows 19th Safar.
I am experiencing an incompatibility with Dart 3. When I try to compile my code, I get the following error:
/F:/flutter/.pub-cache/hosted/pub.dev/hijri_picker-3.0.0/lib/hijri_picker.dart:793:33: Error: The getter 'accentTextTheme' isn't defined for the class 'ThemeData'.
can you give optional for marking calendar for event
Dear Hijir_picker developers,
After the latest stable Flutter version : (Flutter 3.10.5 • channel stable • https://github.com/flutter/flutter.git) there are some issues in your package as follows:
There are also some attached photos to help you resolve the issue, for me I commented the issues that I identified and it worked fine however, it will be better to get a new update from the package side,
Regards,
Error (Xcode): ../../../../.pub-cache/hosted/pub.dev/hijri_picker-3.0.0/lib/hijri_picker.dart:795:32: Error: The getter 'accentColor' isn't defined for the class 'ThemeData'.
../…/lib/hijri_picker.dart:795
Could not build the application for the simulator.
Error launching application on iPhone 14 Pro Max.
السلام عليكم,
شكرا عالمجهود استاذ احمد,
واجهتني مشكلة وحيدة اللي هي اللغة..
كيف اظهر التقويم باللغة العربية
locale: Locale('ar'),
لاتظهر التقويم بالعربي
Hi,
when I try to pick a date then press ok this error appears:
ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: Invalid argument: Instance of 'HijriCalendar'
my code:
Future _selectDate(BuildContext context) async {
final HijriCalendar picked = await showHijriDatePicker(
context: context,
initialDate: selectedDate,
lastDate: new HijriCalendar()
..hYear = 1445
..hMonth = 9
..hDay = 25,
firstDate: new HijriCalendar()
..hYear = 1438
..hMonth = 12
..hDay = 25,
initialDatePickerMode: DatePickerMode.day,
);
if (picked != null)
setState(() {
selectedDate = picked;
});
book();
}
book() {
User user = FirebaseAuth.instance.currentUser;
final uid = user.uid;
if (selectedDate != null) {
FirebaseFirestore.instance
.collection('/profiles')
.where('Uid', isEqualTo: uid)
.get()
.then((val) {
FirebaseFirestore.instance.collection('/photography').add({
'KitchenUid': uid,
'kitchenMobile': val.docs[0].data()['Mobile'],
'date': selectedDate,
});
});
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.