Skip to content
On this page

RangeCalendar

A calendar for selecting a continuous date range.

RangeCalendar in FluttyUIRangeCalendar in FluttyUI dark theme

Import

import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;

API Reference

The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.

RangeCalendar

const RangeCalendar({
  super.key,
  this.size,
  this.startDate,
  this.isControlled = false,
  this.endDate,
  this.initialMonth,
  this.minimumDate,
  this.maximumDate,
  this.firstDayOfWeek,
  this.onRangeChanged,
  this.backgroundColor,
  this.padding,
  this.accentColor,
  this.borderRadius,
});
ParameterTypeRequiredDefault
keyKey?Nonull
sizeComponentSize?Nonull
startDateDateTime?Nonull
isControlledboolNofalse
endDateDateTime?Nonull
initialMonthDateTime?Nonull
minimumDateDateTime?Nonull
maximumDateDateTime?Nonull
firstDayOfWeekint?Nonull
onRangeChangedValueChanged<CalendarDateRange?>?Nonull
backgroundColorColor?Nonull
paddingEdgeInsetsGeometry?Nonull
accentColorColor?Nonull
borderRadiusdouble?Nonull

Application Setup

Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.

Source

lib/src/widgets/date_time/range_calendar/range_calendar.dart

This reference is generated from the RangeCalendar declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

DartFlutter

Get started with FluttyUI