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

outdated

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()
      },
    );
  }
}
14
likes
0
points
37
downloads

Publisher

unverified uploader

Weekly Downloads

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

License

unknown (license)

Dependencies

flutter, intl

More

Packages that depend on textfield_datepicker