textfield_datepicker 0.2.0 copy "textfield_datepicker: ^0.2.0" to clipboard
textfield_datepicker: ^0.2.0 copied to clipboard

TextfieldDatePicker, TextfieldDateAndTimePicker, and TextfieldTimePicker are three flutter widgets that you can use together. These widgets provide you access to different platform date and time picke [...]

example/lib/main.dart

import 'package:example/screens/textfieldDatePicker1.dart';
import 'package:example/screens/textfieldDatePicker2.dart';
import 'package:example/screens/textfieldDateTimePicker.dart';
import 'package:example/screens/textfieldTimePicker.dart';
import 'package:example/screens/welcomePage.dart';
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Textfield Date Picker Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      initialRoute: WelcomePage.routeName,
      routes: {
        TextFieldDatePickerDemo1.routeName: (context) =>
            const TextFieldDatePickerDemo1(),
        TextFieldDatePicker2.routeName: (context) =>
            const TextFieldDatePicker2(),
        WelcomePage.routeName: (context) => const WelcomePage(),
        TextFieldDateTimePicker.routeName: (context) =>
            const TextFieldDateTimePicker(),
        TextFieldTimePicker.routeName: (context) => const TextFieldTimePicker()
      },
    );
  }
}
12
likes
100
pub points
87%
popularity

Publisher

unverified uploader

TextfieldDatePicker, TextfieldDateAndTimePicker, and TextfieldTimePicker are three flutter widgets that you can use together. These widgets provide you access to different platform date and time pickers depending on your device platform.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, intl

More

Packages that depend on textfield_datepicker