rwbr / flutter_neat_and_clean_calendar

Simple and clean flutter calendar with ability to slide up/down to show weekly/monthly calendar. Forked from [flutter_clean_calender](https://pub.dev/packages/flutter_clean_calendar)
MIT License
106 stars 55 forks source link

Can't import package #66

Closed svnty closed 9 months ago

svnty commented 10 months ago
../../../.pub-cache/hosted/pub.dev/macos_ui-1.12.2/lib/src/fields/text_field.dart:108:35: Error: The parameter 'details' of the method
'_TextFieldSelectionGestureDetectorBuilder.onSingleTapUp' has type 'TapUpDetails', which does not match the corresponding type, 'TapDragUpDetails', in the
overridden method, 'TextSelectionGestureDetectorBuilder.onSingleTapUp'.
 - 'TapUpDetails' is from 'package:flutter/src/gestures/tap.dart' ('../../../.flutter/packages/flutter/lib/src/gestures/tap.dart').
 - 'TapDragUpDetails' is from 'package:flutter/src/gestures/tap_and_drag.dart' ('../../../.flutter/packages/flutter/lib/src/gestures/tap_and_drag.dart').
Change to a supertype of 'TapDragUpDetails', or, for a covariant parameter, a subtype.
  void onSingleTapUp(TapUpDetails details) {
                                  ^
../../../.flutter/packages/flutter/lib/src/widgets/text_selection.dart:2279:8: Context: This is the overridden method ('onSingleTapUp').
  void onSingleTapUp(TapDragUpDetails details) {
       ^
../../../.pub-cache/hosted/pub.dev/macos_ui-1.12.2/lib/src/fields/text_field.dart:130:42: Error: The parameter 'details' of the method
'_TextFieldSelectionGestureDetectorBuilder.onDragSelectionEnd' has type 'DragEndDetails', which does not match the corresponding type, 'TapDragEndDetails',
in the overridden method, 'TextSelectionGestureDetectorBuilder.onDragSelectionEnd'.
 - 'DragEndDetails' is from 'package:flutter/src/gestures/drag_details.dart' ('../../../.flutter/packages/flutter/lib/src/gestures/drag_details.dart').
 - 'TapDragEndDetails' is from 'package:flutter/src/gestures/tap_and_drag.dart' ('../../../.flutter/packages/flutter/lib/src/gestures/tap_and_drag.dart').
Change to a supertype of 'TapDragEndDetails', or, for a covariant parameter, a subtype.
  void onDragSelectionEnd(DragEndDetails details) {
                                         ^
../../../.flutter/packages/flutter/lib/src/widgets/text_selection.dart:2958:8: Context: This is the overridden method ('onDragSelectionEnd').
  void onDragSelectionEnd(TapDragEndDetails details) {
       ^
../../../.pub-cache/hosted/pub.dev/macos_ui-1.12.2/lib/src/fields/text_field.dart:759:20: Error: Type argument 'TextInputType' doesn't conform to the bound
'Enum?' of the type variable 'T' on 'EnumProperty'.
 - 'TextInputType' is from 'package:flutter/src/services/text_input.dart' ('../../../.flutter/packages/flutter/lib/src/services/text_input.dart').
 - 'Enum' is from 'dart:core'.
Try changing type arguments so that they conform to the bounds.
    properties.add(EnumProperty<TextInputType>(
                   ^
../../../.flutter/packages/flutter/lib/src/foundation/diagnostics.dart: Context: This is the type variable whose bound isn't conformed to.
Performing hot reload...                                                
Try again after fixing the above error(s).
rwbr commented 10 months ago

Would you please add a bit more context?

The output of flutter doctor would be nice, Can you build and run the example of this package? Which version of it do you use?

rwbr commented 9 months ago

Closed due to inactivity.