tbib_monthly_date_picker 1.0.0
tbib_monthly_date_picker: ^1.0.0 copied to clipboard
Flutter Date Picker Library that provides a days of month.
import 'package:flutter/material.dart';
import 'package:tbib_monthly_date_picker/extra/date_picker_config.dart';
import 'package:tbib_monthly_date_picker/widgets/render_dates_line.dart';
void main() {
runApp(const MainApp());
}
class MainApp extends StatelessWidget {
const MainApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
backgroundColor: Colors.blue,
body: Center(
child: SizedBox(
child: DatePickerTimeLine(
controller: DatePickerController(),
datePickerConfig: const DatePickerConfig(
dateTextStyle: TextStyle(
color: Colors.white,
fontSize: 15,
),
dayTextStyle: TextStyle(
color: Colors.white,
fontSize: 20,
),
dateSelectedStyle: TextStyle(
color: Colors.white,
fontSize: 25,
),
selectionColor: Colors.cyan,
selectedTextColor: Colors.white),
)),
),
),
);
}
}