date_picker_hz 0.0.1 copy "date_picker_hz: ^0.0.1" to clipboard
date_picker_hz: ^0.0.1 copied to clipboard

Date Picker for simple use.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:date_picker_hz/date_picker.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  // Platform messages are asynchronous, so we initialize in an async method.

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Date-picker example app'),
        ),
        body: Center(
          child: DatePicker(onDateRangeSelected: (range) {}),
        ),
      ),
    );
  }
}
2
likes
140
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

Date Picker for simple use.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on date_picker_hz