timeline_date_picker 0.1.0 copy "timeline_date_picker: ^0.1.0" to clipboard
timeline_date_picker: ^0.1.0 copied to clipboard

outdated

A time line date picker to flutter

Timeline date picker #

A timeline date picker for flutter

Simple Example #

@override
  Widget build(BuildContext context) {
    DateTime today = DateTime.now();
    DateTime startDate = new DateTime(today.year, today.month - 1, today.day);
    DateTime endDate = new DateTime(today.year, today.month + 1, today.day);

    return Scaffold(
      appBar: AppBar(
        title: Text('title'),
      ),
      body: DatePicker(
        startDate: startDate,
        endDate: endDate,
        onChange: handleChange,
        // dateRender: (date) => Day(date),
        selectedDateRender: (date) => Column(
          mainAxisAlignment: MainAxisAlignment.spaceEvenly,
          children: [
            Text(
              Jiffy(date).format('dd'),
              style: TextStyle(fontWeight: FontWeight.w700, color: (Color(0xFF4186E4)), fontSize: 30),
            ),
          ],
        ),
      ),
    );
  }
5
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A time line date picker to flutter

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, jiffy

More

Packages that depend on timeline_date_picker