dateofbirth 0.0.5 dateofbirth: ^0.0.5 copied to clipboard
this package helps you to create a beautiful date picker type date of birth
Date of birth #
DateofBirth package is a package that helps you to pick date with style of date of birth like in web sites
Installation #
- Add the latest version of package to your pubspec.yaml (and run dart pub get):
dependencies:
dateofbirth: ^0.0.5
Features #
You can change:
- Text Size
- Text Color
- Background Color
- Border color
and much more
Example #
There are a number of properties that you can modify:
class TestingDateBirth extends StatelessWidget {
const TestingDateBirth({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
body: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
DateOfBirth(
backgroundColor: Colors.pinkAccent,
borderColor: Colors.black,
onDateTimeChanged: (datetime) {
// here you get the Result as DateTime format
},
),
],
),
);
}
}
Note #
Please make sure to like it if you find it usefull for you Add Feedback and suggestions . thanks a lot
🧑 Credits #
This packages has been created by[Nine Hichem].
-Github
: https://github.com/ninehichem
-Email
: ninehichem10@gmail.com
-Whatsapp
: +213561875818
-Linkedin
: https://www.linkedin.com/in/hichem-nine-5b9a98175/