TF-2040 Add date icon background color to styles
(cherry picked from commit 3360bc9c91065f299f56ba07fa49c0e82f2a6e11)
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
|
||||
import 'package:core/presentation/extensions/color_extension.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class CalendarEventInformationWidgetStyles {
|
||||
static const double borderRadius = 16;
|
||||
static const double contentPadding = 16;
|
||||
static const double verticalMargin = 12;
|
||||
static const double horizontalMargin = 16;
|
||||
static const double calendarDateIconMargin = 16;
|
||||
static const Color calendarDateIconBackgroundColor = AppColor.colorCalendarEventInformationBackground;
|
||||
}
|
||||
@@ -39,7 +39,7 @@ class CalendarEventInformationWidget extends StatelessWidget {
|
||||
children: [
|
||||
Container(
|
||||
padding: const EdgeInsets.all(CalendarEventInformationWidgetStyles.calendarDateIconMargin),
|
||||
color: Colors.black.withOpacity(0.04),
|
||||
color: CalendarEventInformationWidgetStyles.calendarDateIconBackgroundColor,
|
||||
child: CalendarDateIconWidget(
|
||||
calendarEvent: calendarEvent,
|
||||
width: double.infinity,
|
||||
@@ -52,7 +52,7 @@ class CalendarEventInformationWidget extends StatelessWidget {
|
||||
children: [
|
||||
Container(
|
||||
padding: const EdgeInsets.all(CalendarEventInformationWidgetStyles.calendarDateIconMargin),
|
||||
color: Colors.black.withOpacity(0.04),
|
||||
color: CalendarEventInformationWidgetStyles.calendarDateIconBackgroundColor,
|
||||
child: CalendarDateIconWidget(calendarEvent: calendarEvent),
|
||||
),
|
||||
Expanded(child: Container(color: Colors.white))
|
||||
|
||||
Reference in New Issue
Block a user