-
Notifications
You must be signed in to change notification settings - Fork 775
Closed
Labels
chatChat componentChat componentcoreCommonCommonsolvedSolved the query using existing solutionsSolved the query using existing solutions
Description
Bug description
Fail to start for Linux app on flutter 3.24.5
Steps to reproduce
- git clone the project
flutter pub getflutter run --release -d linux
Code sample
N/A
Screenshots or Video
N/A
Stack Traces
Stack Traces
$ flutter run --release -d linux
Launching lib/main.dart on Linux in release mode...
ERROR: Invalid depfile: /home/user/Public/flutter/syncfusion/flutter-examples/.dart_tool/flutter_build/eccab98b3c6868741f98faaff9f46e38/kernel_snapshot_program.d
ERROR: Invalid depfile: /home/user/Public/flutter/syncfusion/flutter-examples/.dart_tool/flutter_build/eccab98b3c6868741f98faaff9f46e38/kernel_snapshot_program.d
ERROR: Invalid depfile: /home/user/Public/flutter/syncfusion/flutter-examples/.dart_tool/flutter_build/eccab98b3c6868741f98faaff9f46e38/kernel_snapshot_program.d
ERROR: Invalid depfile: /home/user/Public/flutter/syncfusion/flutter-examples/.dart_tool/flutter_build/eccab98b3c6868741f98faaff9f46e38/kernel_snapshot_program.d
ERROR: Invalid depfile: /home/user/Public/flutter/syncfusion/flutter-examples/.dart_tool/flutter_build/eccab98b3c6868741f98faaff9f46e38/kernel_snapshot_program.d
ERROR: Invalid depfile: /home/user/Public/flutter/syncfusion/flutter-examples/.dart_tool/flutter_build/eccab98b3c6868741f98faaff9f46e38/kernel_snapshot_program.d
ERROR: Invalid depfile: /home/user/Public/flutter/syncfusion/flutter-examples/.dart_tool/flutter_build/eccab98b3c6868741f98faaff9f46e38/kernel_snapshot_program.d
ERROR: Invalid depfile: /home/user/Public/flutter/syncfusion/flutter-examples/.dart_tool/flutter_build/eccab98b3c6868741f98faaff9f46e38/kernel_snapshot_program.d
ERROR: Error: Couldn't resolve the package 'syncfusion_flutter_chat' in 'package:syncfusion_flutter_chat/chat.dart'.
ERROR: lib/samples/chat/customization.dart:5:8: Error: Not found: 'package:syncfusion_flutter_chat/chat.dart'
ERROR: import 'package:syncfusion_flutter_chat/chat.dart';
ERROR: ^
ERROR: lib/samples/chat/getting_started.dart:4:8: Error: Not found: 'package:syncfusion_flutter_chat/chat.dart'
ERROR: import 'package:syncfusion_flutter_chat/chat.dart';
ERROR: ^
ERROR: lib/samples/chat/helper.dart:2:8: Error: Not found: 'package:syncfusion_flutter_chat/chat.dart'
ERROR: import 'package:syncfusion_flutter_chat/chat.dart';
ERROR: ^
ERROR: lib/samples/chat/customization.dart:24:40: Error: Type 'ChatMessage' not found.
ERROR: BuildContext context, int index, ChatMessage message) {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:37:40: Error: Type 'ChatMessage' not found.
ERROR: BuildContext context, int index, ChatMessage message) {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:141:41: Error: Type 'ChatMessage' not found.
ERROR: BorderRadius _borderRadius(int index, ChatMessage message) {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:177:27: Error: Type 'ChatMessage' not found.
ERROR: bool _isOutgoingMessage(ChatMessage message) {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:182:45: Error: Type 'ChatMessage' not found.
ERROR: bool _isFirstMessageFromAuthor(int index, ChatMessage message) {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:189:44: Error: Type 'ChatMessage' not found.
ERROR: bool _isLastMessageFromAuthor(int index, ChatMessage message) {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:197:40: Error: Type 'ChatMessage' not found.
ERROR: BuildContext context, int index, ChatMessage message) {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:221:41: Error: Type 'ChatMessage' not found.
ERROR: Widget _buildContentLayout(int index, ChatMessage message) {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:268:21: Error: Type 'ChatMessage' not found.
ERROR: Widget _buildText(ChatMessage message, bool isOutgoingMessage) {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/getting_started.dart:17:13: Error: Type 'ChatMessage' not found.
ERROR: late List<ChatMessage> _conversations;
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/getting_started.dart:18:13: Error: Type 'ChatMessage' not found.
ERROR: late List<ChatMessage> _messages;
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:5:6: Error: Type 'ChatMessage' not found.
ERROR: List<ChatMessage> chatGettingStartedData({bool customTime = false}) {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:669:30: Error: Type 'ChatMessage' not found.
ERROR: class ChatMessageExt extends ChatMessage {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:24:40: Error: 'ChatMessage' isn't a type.
ERROR: BuildContext context, int index, ChatMessage message) {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:26:50: Error: The getter 'author' isn't defined for the class 'ChatMessageExt'.
ERROR: - 'ChatMessageExt' is from 'package:flutter_examples/samples/chat/helper.dart' ('lib/samples/chat/helper.dart').
ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'author'.
ERROR: index == 0 ? null : _messages[index - 1].author.id;
ERROR: ^^^^^^
ERROR: lib/samples/chat/customization.dart:37:40: Error: 'ChatMessage' isn't a type.
ERROR: BuildContext context, int index, ChatMessage message) {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:141:41: Error: 'ChatMessage' isn't a type.
ERROR: BorderRadius _borderRadius(int index, ChatMessage message) {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:177:27: Error: 'ChatMessage' isn't a type.
ERROR: bool _isOutgoingMessage(ChatMessage message) {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:182:45: Error: 'ChatMessage' isn't a type.
ERROR: bool _isFirstMessageFromAuthor(int index, ChatMessage message) {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:184:50: Error: The getter 'author' isn't defined for the class 'ChatMessageExt'.
ERROR: - 'ChatMessageExt' is from 'package:flutter_examples/samples/chat/helper.dart' ('lib/samples/chat/helper.dart').
ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'author'.
ERROR: index == 0 ? null : _messages[index - 1].author.id;
ERROR: ^^^^^^
ERROR: lib/samples/chat/customization.dart:189:44: Error: 'ChatMessage' isn't a type.
ERROR: bool _isLastMessageFromAuthor(int index, ChatMessage message) {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:192:66: Error: The getter 'author' isn't defined for the class 'ChatMessageExt'.
ERROR: - 'ChatMessageExt' is from 'package:flutter_examples/samples/chat/helper.dart' ('lib/samples/chat/helper.dart').
ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'author'.
ERROR: index == _messageCount - 1 ? null : _messages[index + 1].author.id;
ERROR: ^^^^^^
ERROR: lib/samples/chat/customization.dart:197:40: Error: 'ChatMessage' isn't a type.
ERROR: BuildContext context, int index, ChatMessage message) {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:221:41: Error: 'ChatMessage' isn't a type.
ERROR: Widget _buildContentLayout(int index, ChatMessage message) {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:268:21: Error: 'ChatMessage' isn't a type.
ERROR: Widget _buildText(ChatMessage message, bool isOutgoingMessage) {
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:270:37: Error: The getter 'text' isn't defined for the class 'ChatMessageExt'.
ERROR: - 'ChatMessageExt' is from 'package:flutter_examples/samples/chat/helper.dart' ('lib/samples/chat/helper.dart').
ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'text'.
ERROR: final String text = chatMessage.text;
ERROR: ^^^^
ERROR: lib/samples/chat/customization.dart:376:25: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:417:45: Error: Couldn't find constructor 'ChatBubbleSettings'.
ERROR: incomingBubbleSettings: const ChatBubbleSettings(
ERROR: ^^^^^^^^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:424:45: Error: Couldn't find constructor 'ChatBubbleSettings'.
ERROR: outgoingBubbleSettings: const ChatBubbleSettings(
ERROR: ^^^^^^^^^^^^^^^^^^
ERROR: lib/samples/chat/customization.dart:414:20: Error: The method 'SfChat' isn't defined for the class 'ChatCustomizationSampleState'.
ERROR: - 'ChatCustomizationSampleState' is from 'package:flutter_examples/samples/chat/customization.dart' ('lib/samples/chat/customization.dart').
ERROR: Try correcting the name to the name of an existing method, or defining a method named 'SfChat'.
ERROR: child: SfChat(
ERROR: ^^^^^^
ERROR: lib/samples/chat/customization.dart:435:25: Error: The getter 'ChatComposer' isn't defined for the class 'ChatCustomizationSampleState'.
ERROR: - 'ChatCustomizationSampleState' is from 'package:flutter_examples/samples/chat/customization.dart' ('lib/samples/chat/customization.dart').
ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'ChatComposer'.
ERROR: composer: ChatComposer.builder(builder: _buildComposer),
ERROR: ^^^^^^^^^^^^
ERROR: lib/samples/chat/getting_started.dart:17:13: Error: 'ChatMessage' isn't a type.
ERROR: late List<ChatMessage> _conversations;
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/getting_started.dart:18:13: Error: 'ChatMessage' isn't a type.
ERROR: late List<ChatMessage> _messages;
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/getting_started.dart:36:18: Error: 'ChatMessage' isn't a type.
ERROR: _messages = <ChatMessage>[];
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/getting_started.dart:58:45: Error: Couldn't find constructor 'ChatBubbleSettings'.
ERROR: outgoingBubbleSettings: const ChatBubbleSettings(
ERROR: ^^^^^^^^^^^^^^^^^^
ERROR: lib/samples/chat/getting_started.dart:62:31: Error: Couldn't find constructor 'ChatComposer'.
ERROR: composer: const ChatComposer(
ERROR: ^^^^^^^^^^^^
ERROR: lib/samples/chat/getting_started.dart:72:33: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: const ChatAuthor(id: 'Cristina', name: 'Cristina'),
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/getting_started.dart:55:20: Error: The method 'SfChat' isn't defined for the class '_ChatViewState'.
ERROR: - '_ChatViewState' is from 'package:flutter_examples/samples/chat/getting_started.dart' ('lib/samples/chat/getting_started.dart').
ERROR: Try correcting the name to the name of an existing method, or defining a method named 'SfChat'.
ERROR: child: SfChat(
ERROR: ^^^^^^
ERROR: lib/samples/chat/getting_started.dart:65:29: Error: The method 'ChatActionButton' isn't defined for the class '_ChatViewState'.
ERROR: - '_ChatViewState' is from 'package:flutter_examples/samples/chat/getting_started.dart' ('lib/samples/chat/getting_started.dart').
ERROR: Try correcting the name to the name of an existing method, or defining a method named 'ChatActionButton'.
ERROR: actionButton: ChatActionButton(
ERROR: ^^^^^^^^^^^^^^^^
ERROR: lib/samples/chat/getting_started.dart:68:35: Error: The method 'ChatMessage' isn't defined for the class '_ChatViewState'.
ERROR: - '_ChatViewState' is from 'package:flutter_examples/samples/chat/getting_started.dart' ('lib/samples/chat/getting_started.dart').
ERROR: Try correcting the name to the name of an existing method, or defining a method named 'ChatMessage'.
ERROR: _messages.add(ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:6:11: Error: 'ChatMessage' isn't a type.
ERROR: return <ChatMessage>[
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:13:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:7:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:25:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:19:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:36:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:31:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:47:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:42:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:60:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:53:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:73:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:66:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:86:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:79:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:98:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:92:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:109:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:104:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:121:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:115:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:134:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:127:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:146:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:140:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:159:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:152:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:171:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:165:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:182:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:177:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:193:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:188:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:204:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:199:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:215:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:210:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:226:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:221:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:239:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:232:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:250:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:245:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:262:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:256:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:274:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:268:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:285:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:280:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:297:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:291:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:308:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:303:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:319:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:314:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:331:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:325:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:342:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:337:5: Error: Method not found: 'ChatMessage'.
ERROR: ChatMessage(
ERROR: ^^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:359:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:371:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:383:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:394:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:406:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:417:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:428:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:440:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:452:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:464:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:475:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:486:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:498:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:509:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:520:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:533:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:545:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:557:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:569:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:581:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:592:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:604:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:615:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:626:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:638:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:649:21: Error: Couldn't find constructor 'ChatAuthor'.
ERROR: author: const ChatAuthor(
ERROR: ^^^^^^^^^^
ERROR: lib/samples/chat/helper.dart:670:3: Error: The superclass, 'ChatMessage', has no unnamed constructor that takes no arguments.
ERROR: ChatMessageExt({
ERROR: ^^^^^^^^^^^^^^
ERROR: Unhandled exception:
ERROR: Target kernel_snapshot_program failed: Exception
Building Linux application...
Error: Build process failed
#0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1 _runBuild (package:flutter_tools/src/linux/build_linux.dart:210:5)
<asynchronous suspension>
#2 buildLinux (package:flutter_tools/src/linux/build_linux.dart:83:5)
<asynchronous suspension>
#3 LinuxDevice.buildForDevice (package:flutter_tools/src/linux/linux_device.dart:67:5)
<asynchronous suspension>
#4 DesktopDevice.startApp (package:flutter_tools/src/desktop_device.dart:121:7)
<asynchronous suspension>
#5 FlutterDevice.runCold (package:flutter_tools/src/resident_runner.dart:534:33)
<asynchronous suspension>
#6 ColdRunner.run (package:flutter_tools/src/run_cold.dart:55:28)
<asynchronous suspension>
#7 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:867:27)
<asynchronous suspension>
#8 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1408:27)
<asynchronous suspension>
#9 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#10 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#11 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:420:9)
<asynchronous suspension>
#12 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#13 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:5)
<asynchronous suspension>
#14 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9)
<asynchronous suspension>
#15 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#16 main (package:flutter_tools/executable.dart:93:3)
<asynchronous suspension>On which target platforms have you observed this bug?
Linux
Flutter Doctor output
Doctor output
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.5, on Ubuntu 24.04.1 LTS 6.8.0-48-generic, locale en_US.UTF-8)
[✗] Android toolchain - develop for Android devices
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] VS Code (version 1.95.3)
[✓] Connected device (2 available)
[✓] Network resources
! Doctor found issues in 2 categories.Metadata
Metadata
Assignees
Labels
chatChat componentChat componentcoreCommonCommonsolvedSolved the query using existing solutionsSolved the query using existing solutions