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.
22 lines
586 B
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),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|