hms method
Implementation
@override
Widget hms(XBCalendarVM vm) {
return SizedBox(
height: 140,
child: Column(
children: [
xbLine(),
Expanded(
child: Stack(
children: [
XBTitlePickerMulti(
mulTitles: castVM(vm).hms,
selecteds: castVM(vm).selectedHMS,
onSelected: castVM(vm).onSelected,
selectedBG: Container(),
selectedStyle: selectedStyle,
),
Positioned.fill(
child: Row(
children: [
Expanded(
child: Container(
alignment: Alignment.center,
child: Padding(
padding: const EdgeInsets.only(left: 50),
child: Text(
"h",
style: selectedStyle,
),
))),
Expanded(
child: Container(
alignment: Alignment.center,
child: Padding(
padding: const EdgeInsets.only(left: 50),
child: Text(
"m",
style: selectedStyle,
),
))),
Expanded(
child: Container(
alignment: Alignment.center,
child: Padding(
padding: const EdgeInsets.only(left: 50),
child: Text(
"s",
style: selectedStyle,
),
))),
],
))
],
))
],
),
);
}