我使用了syncfusion我的应用程序,但此显示消息SfDateRangePickerin license.why?enter image description here
发布于 2020-08-21 16:35:02
import 'package:syncfusion_flutter_datepicker/datepicker.dart';
child: SfDateRangePicker(
view: DateRangePickerView.month,
minDate:_minDate ,
maxDate: _maxDate,
selectionMode: DateRangePickerSelectionMode.single,
controller: _datePickerController,
startRangeSelectionColor: Colors.grey,
endRangeSelectionColor: Colors.grey,
rangeSelectionColor: Colors.black12,
rangeTextStyle: const TextStyle(color: Colors.black, fontSize: 20),
monthViewSettings: DateRangePickerMonthViewSettings(specialDates: <DateTime>[
DateTime.now().add(Duration(days: 1)), DateTime.now().add(Duration(days: 2)), ]),
]), onSelectionChanged: selectionChanged,
monthCellStyle: DateRangePickerMonthCellStyle(
specialDatesDecoration: BoxDecoration(
color: Colors.grey,
border: Border.all(color: Colors.black, width: 1),
shape: BoxShape.circle),
blackoutDateTextStyle: TextStyle(color: Colors.white, decoration:
TextDecoration.lineThrough),
specialDatesTextStyle: const TextStyle(color: Colors.white),
),
),https://stackoverflow.com/questions/63489273
复制相似问题