首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >syncfusion license flutter SfDateRangePicker

syncfusion license flutter SfDateRangePicker
EN

Stack Overflow用户
提问于 2020-08-19 22:31:05
回答 1查看 143关注 0票数 0

我使用了syncfusion我的应用程序,但此显示消息SfDateRangePickerin license.why?enter image description here

EN

回答 1

Stack Overflow用户

发布于 2020-08-21 16:35:02

代码语言:javascript
复制
     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),
  ),

),
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/63489273

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档