day_navigator 0.1.8 copy "day_navigator: ^0.1.8" to clipboard
day_navigator: ^0.1.8 copied to clipboard

A simple Flutter widget to navigate between days with arrows and a date picker. Great for calendars, schedules, and reminders.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:day_navigator/day_navigator.dart';

void main() => runApp(const MyApp());

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text("Day Navigator Example")),
        body: Center(
          child: DayNavigator(
            initialDate: DateTime.now(),
            onDateChanged: (date) {
              print("Selected: $date");
            },

            /// Optional: Customize the color of the widget
            color: Colors.blue,
          ),
        ),
      ),
    );
  }
}
2
likes
160
points
59
downloads

Publisher

unverified uploader

Weekly Downloads

A simple Flutter widget to navigate between days with arrows and a date picker. Great for calendars, schedules, and reminders.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on day_navigator