vph_web_date_picker 0.0.3 copy "vph_web_date_picker: ^0.0.3" to clipboard
vph_web_date_picker: ^0.0.3 copied to clipboard

Flutter date picker package for web application.

Flutter Date Picker for Flutter Web application #

Pub.Dev Demo Web

Usage #

    final textFieldKey = GlobalKey();
    ...
    TextField(
        key: textFieldKey,
        controller: _controller,
        onTap: () async {
            final pickedDate = await showWebDatePicker(
                context: textFieldKey.currentContext!,
                initialDate: _selectedDate,
                firstDate: DateTime.now().add(const Duration(days: 1)),
                lastDate: DateTime.now().add(const Duration(days: 14000)),
            );
            if (pickedDate != null) {
                _selectedDate = pickedDate;
                _controller.text = pickedDate.toString();
            }
        },
    ),
    ...
18
likes
0
points
1.59k
downloads

Publisher

verified publishervphtec.com

Weekly Downloads

Flutter date picker package for web application.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, vph_common_widgets

More

Packages that depend on vph_web_date_picker