Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Appflowy | 33,182 | a day ago | 6 | August 29, 2022 | 454 | agpl-3.0 | Dart | |||
AppFlowy is an open-source alternative to Notion. You are in charge of your data and customizations. Built with Flutter and Rust. | ||||||||||
Zefyr | 2,123 | 5 | 5 | 6 months ago | 19 | December 19, 2021 | 228 | Dart | ||
Soft and gentle rich text editing for Flutter applications. | ||||||||||
Uiwidgets | 1,861 | 2 years ago | 45 | other | C# | |||||
UIWidget is a Unity Package which helps developers to create, debug and deploy efficient, cross-platform Apps. | ||||||||||
Flutter Quill | 1,824 | 2 days ago | 106 | mit | Dart | |||||
Rich text editor for Flutter | ||||||||||
Extended_image | 1,600 | 23 | 11 | 2 months ago | 106 | May 17, 2022 | 18 | mit | Dart | |
A powerful official extension library of image, which support placeholder(loading)/ failed state, cache network, zoom pan image, photo view, slide out page, editor(crop,rotate,flip), paint custom etc. | ||||||||||
Super_editor | 1,090 | 2 days ago | 150 | mit | Dart | |||||
A Flutter toolkit for building document editors and readers | ||||||||||
Com.unity.uiwidgets | 566 | 7 months ago | 21 | other | C# | |||||
UIWidgets is a Unity Package which helps developers to create, debug and deploy efficient, cross-platform Apps. | ||||||||||
Flutter_custom_calendar | 384 | 3 years ago | 35 | bsd-2-clause | Dart | |||||
Flutter的一个日历控件 | ||||||||||
Noteless | 321 | 2 years ago | 23 | mit | Dart | |||||
A Markdown-based note-taking app for mobile devices. | ||||||||||
Flutter_image_editor | 321 | 2 | 2 | 16 days ago | 28 | November 14, 2022 | 17 | apache-2.0 | Dart | |
Flutter plugin, support android/ios.Support crop, flip, rotate, color martix, mix image, add text. merge multi images. |
本插件是基于flutter_custom_calendar做了稍微的修改进行上传的。
具体使用方法见flutter_custom_calendar
新增一个选择mode
支持选择开始和结束,选择范围内的日期,使用方法
controller = new CalendarController(
minYear: 2019,
minYearMonth: 1,
maxYear: 2021,
maxYearMonth: 12,
showMode: CalendarConstants.MODE_SHOW_MONTH_AND_WEEK,
selectedDateTimeList: _selectedDate,
selectMode: CalendarSelectedMode.mutltiStartToEndSelect)
..addOnCalendarSelectListener((dateModel) {
_selectedModels.add(dateModel);
})
..addOnCalendarUnSelectListener((dateModel) {
if (_selectedModels.contains(dateModel)) {
_selectedModels.remove(dateModel);
}
});
CalendarSelectedMode.mutltiStartToEndSelect
这个选择模式会选择开始和结束中间的 默认选择的。
Use this package as a library
dependencies:
flutter_custom_calendar: ^1.0.4+0.5
with Flutter:
$ flutter pub get
Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
import 'package:flutter_custom_calendar/flutter_custom_calendar.dart';
controller.addExpandChangeListener((value) {
/// 添加改变 月视图和 周视图的监听
_isMonthSelected = value;
setState(() {});
});
});
前提条件是
showModel
是CalendarConstants.MODE_SHOW_MONTH_AND_WEEK
或者CalendarConstants.MODE_SHOW_WEEK_AND_MONTH
.
setState(() {
controller.weekAndMonthViewChange(CalendarConstants.MODE_SHOW_ONLY_WEEK);
});
setState(() {controller.weekAndMonthViewChange(CalendarConstants.MODE_SHOW_ONLY_MONTH);
});