You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
app/lib/widgets/calendar/calendar_weekbar_widget.dart

22 lines
586 B

import 'package:flutter/material.dart';
import 'package:flutter_custom_calendar/flutter_custom_calendar.dart';
import 'package:recook/constants/header.dart';
class CalendarWeekBarWidget extends BaseWeekBar {
final List<String> weekList = ["", "", "", "", "", "", ""];
@override
Widget getWeekBarItem(int index) {
return Container(
alignment: Alignment.center,
height: 40.rw,
child: Text(
weekList[index],
style: TextStyle(
fontSize: 14.rsp,
color: Color(0xFF333333),
),
),
);
}
}