MultiDateEventHeaderStyle constructor

MultiDateEventHeaderStyle(
  1. BuildContext context, {
  2. double? eventHeight,
  3. int? maxEventRows,
  4. EdgeInsetsGeometry? padding,
})

Implementation

factory MultiDateEventHeaderStyle(
  // To allow future updates to use the context and align the parameters to
  // other style constructors.
  // ignore: avoid_unused_constructor_parameters
  BuildContext context, {
  double? eventHeight,
  int? maxEventRows,
  EdgeInsetsGeometry? padding,
}) {
  return MultiDateEventHeaderStyle.raw(
    eventHeight: eventHeight ?? 24,
    maxEventRows: maxEventRows ?? 3,
    padding: padding ?? EdgeInsets.zero,
  );
}