build method

  1. @override
Widget build(
  1. BuildContext context
)
override

Implementation

@override
Widget build(BuildContext context) {
  return OutlinedButton(
      onPressed: disabled
          ? null
          : () {
              _onClick(context);
            },
      statesController: statesController,
      child: Row(children: [
        Icons.calendar_month_rounded.icon(),
        Text(
          value?.dateString ?? "选择日期...",
          style: const TextStyle(fontSize: 16),
        ),
      ]));
}