talker icon indicating copy to clipboard operation
talker copied to clipboard

Exception

Open yuriiyudin opened this issue 1 year ago • 2 comments

Describe the bug During run the project got

../../../../.pub-cache/hosted/pub.dev/talker_flutter-4.1.2/lib/src/ui/talker_view.dart:215:29: Error: The argument type 'String Function({TimeFormat timeFormat})' can't be assigned to the parameter type 'String'.

  • 'TimeFormat' is from 'package:talker/src/utils/time_format.dart' ('../../../../.pub-cache/hosted/pub.dev/talker-4.4.0/lib/src/utils/time_format.dart'). widget.talker.history.text, ^ **../../../../.pub-cache/hosted/pub.dev/talker_flutter-4.1.2/lib/src/ui/talker_view.dart:229:65: Error: The argument type 'String Function({TimeFormat timeFormat})' can't be assigned to the parameter type 'String'.
  • 'TimeFormat' is from 'package:talker/src/utils/time_format.dart' ('../../../../.pub-cache/hosted/pub.dev/talker-4.4.0/lib/src/utils/time_format.dart'). Clipboard.setData(ClipboardData(text: widget.talker.history.text));** ^

macOs ios simulator iOs 17.5

yuriiyudin avatar Aug 04 '24 10:08 yuriiyudin

Есть кто живой ? :)

yuriiyudin avatar Aug 08 '24 15:08 yuriiyudin

У тебя в описании ошибки прописано что talker 4.4.0 версии, а talker_flutter 4.1.2 Обнови библиотеки до последней версии и все будет хорошо

Frezyx avatar Aug 08 '24 15:08 Frezyx