Coder Social home page Coder Social logo

devstack06 / whatsapp-clone-flutter Goto Github PK

View Code? Open in Web Editor NEW
512.0 13.0 218.0 5.37 MB

The Repository of Chat App development UI PART using Flutter (Youtube Series)

Home Page: https://youtube.com/playlist?list=PLtIU0BH0pkKrgqaT-9JSrRRyetkVEkDn6

License: BSD 3-Clause "New" or "Revised" License

Kotlin 0.21% Swift 0.69% Objective-C 0.06% Dart 96.47% HTML 2.57%
flutter flutter-apps chatapp flutter-chat-app flutter-chat socket-io flutter-socketio nodejs whatsapp-clone whatsapp-flutter

whatsapp-clone-flutter's Introduction

Chat App Development Front-End and Back-End using Flutter, SocketIo, and NodeJS. (Limited code)

Buy Me A Coffee

( You can buy the full source code of tutorial in $30 (mail me): [email protected] )

In this full tutrial source code you will get:

  • One to one chatting
  • One to one file sharing
  • All the basic UI of whatsapp
  • Camera and Video integration
  • Socket Integration

Things are not there yet:

  • Database integration
  • Group chat functionality
  • Calling and Voice features

Please note in $30 you will going to get the full tutorial code, which I have covered in youtube, It is just a tutorial code not real whatsapp code

Playlist for Chat App Development series -:

Playlist Name YouTube Playlist Link
Chat App Development (Main Playlist) Link
Chat App Development (Only Front-End using Flutter) Link
Chat Server Development (Only Back-End using Node/SocketIo) Link

Some Screenshots of this series

1. Landing Page


2. Login Page


3. Login Page with Alert


4. OTP Screen


5. Country Page


6. Home page


7. Chat page


8. Camera Page


9. Status Page


10. PopUp Menu Item


11. Emoji Picker


12. Create Group Page


13. Select Contact Page


14.View Image/Video Page


Some Other playlist

Playlist Name YouTube Playlist Link
Flutter model class series, for Rest API connection and JSON parsing Link
Flutter Basic series link
Blog App Development (Main Playlist) Link
Blog App Development (Only Front-End using Flutter) Link
Blog App Development (Only Back-End using Node/ExpressJs) Link

If this tutorial helped you please give a star and also fork the repo, Thank you happy coding :)

To use this app follow below instructions-:

  1. Clone this app using below syntax -:

    git clone https://github.com/DevStack06/Whatsapp-Clone-Flutter.git

  2. After cloning install packages using below syntax -:

    flutter pub get

Above command will install all the neccery packges.

  1. Run the app on your mobile using below command -:

    flutter run

whatsapp-clone-flutter's People

Contributors

devstack06 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

whatsapp-clone-flutter's Issues

Flutter App is not working for Dart 3

Hello,
I wanted to follow your programm sessions to programm my own Chat App. But your instructions are most of the time not working because it is not compatible with Dart 3. Could you please update the Code? Furthermore some Package like the one for Emojis are not Dart 3 compatible

socket io client connection to backend

I clown your repository to see if the connection issue is from my code, but no joy as the connection still returns false everything I connect it to my backend even though the backend is running. Any idea what to do? Thank you for your great tutorial.

build error

Hey I'm getting this build error, what am I doing wrong? I updated package

./../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+3/lib/src/path_provider_windows_real.dart:126:25: Error: The getter 'addressOf' isn't defined for the class 'GUID'.

  • 'GUID' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    knownFolderID.addressOf, KF_FLAG_DEFAULT, NULL, pathPtrPtr);
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:1067:7: Error: The getter 'addressOf' isn't defined for the class 'LOGFONT'.
  • 'LOGFONT' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    addressOf.cast().elementAt(28).cast();
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:1112:29: Error: The getter 'addressOf' isn't defined for the class 'ENUMLOGFONTEX'.
  • 'ENUMLOGFONTEX' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    LOGFONT get elfLogFont => addressOf.cast().ref;
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:1114:29: Error: The getter 'addressOf' isn't defined for the class 'ENUMLOGFONTEX'.
  • 'ENUMLOGFONTEX' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    String get elfFullName => addressOf
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:1120:26: Error: The getter 'addressOf' isn't defined for the class 'ENUMLOGFONTEX'.
  • 'ENUMLOGFONTEX' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    String get elfStyle => addressOf
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:1126:27: Error: The getter 'addressOf' isn't defined for the class 'ENUMLOGFONTEX'.
  • 'ENUMLOGFONTEX' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    String get elfScript => addressOf
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2688:7: Error: The getter 'addressOf' isn't defined for the class 'OSVERSIONINFO'.
  • 'OSVERSIONINFO' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    addressOf.cast().elementAt(20).cast().unpackString(128);
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2699:11: Error: The getter 'addressOf' isn't defined for the class 'OSVERSIONINFO'.
  • 'OSVERSIONINFO' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    ..addressOf.cast().elementAt(20).value = 0;
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2744:24: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_DEVICE_INFO'.
  • 'BLUETOOTH_DEVICE_INFO' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    String get szName => addressOf
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2837:7: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_PIN_INFO'.
  • 'BLUETOOTH_PIN_INFO' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    addressOf.cast().elementAt(BTH_MAX_PIN_SIZE).value;
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2840:5: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_PIN_INFO'.
  • 'BLUETOOTH_PIN_INFO' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    addressOf.cast().elementAt(BTH_MAX_PIN_SIZE).value =
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2845:28: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_PIN_INFO'.
  • 'BLUETOOTH_PIN_INFO' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    String.fromCharCodes(addressOf.cast().asTypedList(pinLength));
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2853:7: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_PIN_INFO'.
  • 'BLUETOOTH_PIN_INFO' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    addressOf.cast().elementAt(idx).value = pinData[idx];
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/com/combase.dart:38:31: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final iid = GUID.allocate().addressOf;
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/com/combase.dart:56:33: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final clsid = GUID.allocate().addressOf;
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/winrt/winrt_helpers.dart:86:40: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final riidCalendar = GUID.allocate().addressOf;
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IDesktopWallpaper.dart:197:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'.
  • 'COMObject' is from 'package:win32/src/com/combase.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/com/combase.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final ptr = COMObject.allocate().addressOf;
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IDesktopWallpaper.dart:200:49: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(CLSID_DesktopWallpaper).addressOf,
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IDesktopWallpaper.dart:203:48: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(IID_IDesktopWallpaper).addressOf,
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IFileOpenDialog.dart:58:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'.
  • 'COMObject' is from 'package:win32/src/com/combase.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/com/combase.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final ptr = COMObject.allocate().addressOf;
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IFileOpenDialog.dart:61:47: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(CLSID_FileOpenDialog).addressOf,
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IFileOpenDialog.dart:64:46: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(IID_IFileOpenDialog).addressOf,
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IFileSaveDialog.dart:99:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'.
  • 'COMObject' is from 'package:win32/src/com/combase.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/com/combase.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final ptr = COMObject.allocate().addressOf;
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IFileSaveDialog.dart:102:47: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(CLSID_FileSaveDialog).addressOf,
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IFileSaveDialog.dart:105:46: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(IID_IFileSaveDialog).addressOf,
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IKnownFolderManager.dart:164:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'.
  • 'COMObject' is from 'package:win32/src/com/combase.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/com/combase.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final ptr = COMObject.allocate().addressOf;
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IKnownFolderManager.dart:167:51: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(CLSID_KnownFolderManager).addressOf,
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IKnownFolderManager.dart:170:50: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(IID_IKnownFolderManager).addressOf,
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/INetworkListManager.dart:128:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'.
  • 'COMObject' is from 'package:win32/src/com/combase.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/com/combase.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final ptr = COMObject.allocate().addressOf;
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/INetworkListManager.dart:131:51: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(CLSID_NetworkListManager).addressOf,
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/INetworkListManager.dart:134:50: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(IID_INetworkListManager).addressOf,
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IWbemLocator.dart:82:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'.
  • 'COMObject' is from 'package:win32/src/com/combase.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/com/combase.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final ptr = COMObject.allocate().addressOf;
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IWbemLocator.dart:84:68: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final hr = CoCreateInstance(GUID.fromString(CLSID_WbemLocator).addressOf,
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IWbemLocator.dart:85:64: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    nullptr, CLSCTX_ALL, GUID.fromString(IID_IWbemLocator).addressOf, ptr);
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:63:33: Error: The getter 'addressOf' isn't defined for the class 'Utf8'.
  • 'Utf8' is from 'package:ffi/src/utf8.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    String toString() => fromUtf8(addressOf);
    ^^^^^^^^^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:1111:7: Error: Struct 'ENUMLOGFONTEX' is empty. Empty structs are undefined behavior.
    class ENUMLOGFONTEX extends Struct {
    ^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2835:7: Error: Struct 'BLUETOOTH_PIN_INFO' is empty. Empty structs are undefined behavior.
    class BLUETOOTH_PIN_INFO extends Struct {
    ^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2960:7: Error: Struct 'EXCEPINFO' is empty. Empty structs are undefined behavior.
    class EXCEPINFO extends Struct {}
    ^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2966:7: Error: Struct 'PROPERTYKEY' is empty. Empty structs are undefined behavior.
    class PROPERTYKEY extends Struct {}
    ^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2973:7: Error: Struct 'PROPVARIANT' is empty. Empty structs are undefined behavior.
    class PROPVARIANT extends Struct {}
    ^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2978:7: Error: Struct 'SAFEARRAY' is empty. Empty structs are undefined behavior.
    class SAFEARRAY extends Struct {}
    ^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2985:7: Error: Struct 'CLSID' is empty. Empty structs are undefined behavior.
    class CLSID extends Struct {}
    ^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2992:7: Error: Struct 'STATSTG' is empty. Empty structs are undefined behavior.
    class STATSTG extends Struct {}
    ^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2999:7: Error: Struct 'NLM_SIMULATED_PROFILE_INFO' is empty. Empty structs are undefined behavior.
    class NLM_SIMULATED_PROFILE_INFO extends Struct {}
    ^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:23:7: Error: Struct 'Utf8' is empty. Empty structs are undefined behavior.
    class Utf8 extends Struct {
    ^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf16.dart:16:7: Error: Struct 'Utf16' is empty. Empty structs are undefined behavior.
    class Utf16 extends Struct {
    ^
    ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/allocation.dart:47:33: Error: Expected type 'T' to be a valid and instantiated subtype of 'NativeType'.
    final int totalSize = count * sizeOf();
    ^

FAILURE: Build failed with an exception.

  • Where:
    Script '/home/tswift/snap/flutter/common/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1029

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/home/tswift/snap/flutter/common/flutter/bin/flutter'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 2m 34s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 158.3s
Exception: Gradle task assembleDebug failed with exit code 1****

flutter run doesn't work for android app

Here is the log

PS C:\Users..\Whatsapp-Clone-Flutter> flutter run
Launching lib\main.dart on SM J730K in debug mode...
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+3/lib/src/path_provider_windows_real.dart:126:25: Error: The getter 'addressOf' isn't defined for the class 'GUID'.

  • 'GUID' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    knownFolderID.addressOf, KF_FLAG_DEFAULT, NULL, pathPtrPtr);
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/video_player_platform_interface-2.2.0/lib/messages.dart:432:15: Error: The method 'setMockMessageHandler' isn't defined for the class 'BasicMessageChannel'.
  • 'BasicMessageChannel' is from 'package:flutter/src/services/platform_channel.dart' ('/C:/src/flutter/packages/flutter/lib/src/services/platform_channel.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'setMockMessageHandler'.
    channel.setMockMessageHandler((dynamic message) async {
    ^^^^^^^^^^^^^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/video_player_platform_interface-2.2.0/lib/messages.dart:440:15: Error: The method 'setMockMessageHandler' isn't defined for the class 'BasicMessageChannel'.
  • 'BasicMessageChannel' is from 'package:flutter/src/services/platform_channel.dart' ('/C:/src/flutter/packages/flutter/lib/src/services/platform_channel.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'setMockMessageHandler'.
    channel.setMockMessageHandler((dynamic message) async {
    ^^^^^^^^^^^^^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/video_player_platform_interface-2.2.0/lib/messages.dart:451:15: Error: The method 'setMockMessageHandler' isn't defined for the class 'BasicMessageChannel'.
  • 'BasicMessageChannel' is from 'package:flutter/src/services/platform_channel.dart' ('/C:/src/flutter/packages/flutter/lib/src/services/platform_channel.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'setMockMessageHandler'.
    channel.setMockMessageHandler((dynamic message) async {
    ^^^^^^^^^^^^^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/video_player_platform_interface-2.2.0/lib/messages.dart:463:15: Error: The method 'setMockMessageHandler' isn't defined for the class 'BasicMessageChannel'.
  • 'BasicMessageChannel' is from 'package:flutter/src/services/platform_channel.dart' ('/C:/src/flutter/packages/flutter/lib/src/services/platform_channel.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'setMockMessageHandler'.
    channel.setMockMessageHandler((dynamic message) async {
    ^^^^^^^^^^^^^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/video_player_platform_interface-2.2.0/lib/messages.dart:475:15: Error: The method 'setMockMessageHandler' isn't defined for the class 'BasicMessageChannel'.
  • 'BasicMessageChannel' is from 'package:flutter/src/services/platform_channel.dart' ('/C:/src/flutter/packages/flutter/lib/src/services/platform_channel.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'setMockMessageHandler'.
    channel.setMockMessageHandler((dynamic message) async {
    ^^^^^^^^^^^^^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/video_player_platform_interface-2.2.0/lib/messages.dart:487:15: Error: The method 'setMockMessageHandler' isn't defined for the class 'BasicMessageChannel'.
  • 'BasicMessageChannel' is from 'package:flutter/src/services/platform_channel.dart' ('/C:/src/flutter/packages/flutter/lib/src/services/platform_channel.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'setMockMessageHandler'.
    channel.setMockMessageHandler((dynamic message) async {
    ^^^^^^^^^^^^^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/video_player_platform_interface-2.2.0/lib/messages.dart:499:15: Error: The method 'setMockMessageHandler' isn't defined for the class 'BasicMessageChannel'.
  • 'BasicMessageChannel' is from 'package:flutter/src/services/platform_channel.dart' ('/C:/src/flutter/packages/flutter/lib/src/services/platform_channel.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'setMockMessageHandler'.
    channel.setMockMessageHandler((dynamic message) async {
    ^^^^^^^^^^^^^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/video_player_platform_interface-2.2.0/lib/messages.dart:510:15: Error: The method 'setMockMessageHandler' isn't defined for the class 'BasicMessageChannel'.
  • 'BasicMessageChannel' is from 'package:flutter/src/services/platform_channel.dart' ('/C:/src/flutter/packages/flutter/lib/src/services/platform_channel.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'setMockMessageHandler'.
    channel.setMockMessageHandler((dynamic message) async {
    ^^^^^^^^^^^^^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/video_player_platform_interface-2.2.0/lib/messages.dart:521:15: Error: The method 'setMockMessageHandler' isn't defined for the class 'BasicMessageChannel'.
  • 'BasicMessageChannel' is from 'package:flutter/src/services/platform_channel.dart' ('/C:/src/flutter/packages/flutter/lib/src/services/platform_channel.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'setMockMessageHandler'.
    channel.setMockMessageHandler((dynamic message) async {
    ^^^^^^^^^^^^^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/video_player_platform_interface-2.2.0/lib/messages.dart:532:15: Error: The method 'setMockMessageHandler' isn't defined for the class 'BasicMessageChannel'.
  • 'BasicMessageChannel' is from 'package:flutter/src/services/platform_channel.dart' ('/C:/src/flutter/packages/flutter/lib/src/services/platform_channel.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'setMockMessageHandler'.
    channel.setMockMessageHandler((dynamic message) async {
    ^^^^^^^^^^^^^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/video_player_platform_interface-2.2.0/lib/messages.dart:544:15: Error: The method 'setMockMessageHandler' isn't defined for the class 'BasicMessageChannel'.
  • 'BasicMessageChannel' is from 'package:flutter/src/services/platform_channel.dart' ('/C:/src/flutter/packages/flutter/lib/src/services/platform_channel.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'setMockMessageHandler'.
    channel.setMockMessageHandler((dynamic message) async {
    ^^^^^^^^^^^^^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:1067:7: Error: The getter 'addressOf' isn't defined for the class 'LOGFONT'.
  • 'LOGFONT' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    addressOf.cast().elementAt(28).cast();
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:1112:29: Error: The getter 'addressOf' isn't defined for the class 'ENUMLOGFONTEX'.
  • 'ENUMLOGFONTEX' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    LOGFONT get elfLogFont => addressOf.cast().ref;
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:1114:29: Error: The getter 'addressOf' isn't defined for the class 'ENUMLOGFONTEX'.
  • 'ENUMLOGFONTEX' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    String get elfFullName => addressOf
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:1120:26: Error: The getter 'addressOf' isn't defined for the class 'ENUMLOGFONTEX'.
  • 'ENUMLOGFONTEX' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    String get elfStyle => addressOf
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:1126:27: Error: The getter 'addressOf' isn't defined for the class 'ENUMLOGFONTEX'.
  • 'ENUMLOGFONTEX' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    String get elfScript => addressOf
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2688:7: Error: The getter 'addressOf' isn't defined for the class 'OSVERSIONINFO'.
  • 'OSVERSIONINFO' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    addressOf.cast().elementAt(20).cast().unpackString(128);
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2699:11: Error: The getter 'addressOf' isn't defined for the class 'OSVERSIONINFO'.
  • 'OSVERSIONINFO' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    ..addressOf.cast().elementAt(20).value = 0;
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2744:24: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_DEVICE_INFO'.
  • 'BLUETOOTH_DEVICE_INFO' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    String get szName => addressOf
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2837:7: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_PIN_INFO'.
  • 'BLUETOOTH_PIN_INFO' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    addressOf.cast().elementAt(BTH_MAX_PIN_SIZE).value;
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2840:5: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_PIN_INFO'.
  • 'BLUETOOTH_PIN_INFO' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    addressOf.cast().elementAt(BTH_MAX_PIN_SIZE).value =
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2845:28: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_PIN_INFO'.
  • 'BLUETOOTH_PIN_INFO' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    String.fromCharCodes(addressOf.cast().asTypedList(pinLength));
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2853:7: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_PIN_INFO'.
  • 'BLUETOOTH_PIN_INFO' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    addressOf.cast().elementAt(idx).value = pinData[idx];
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/com/combase.dart:38:31: Error:
    The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final iid = GUID.allocate().addressOf;
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/com/combase.dart:56:33: Error:
    The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final clsid = GUID.allocate().addressOf;
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/winrt/winrt_helpers.dart:86:40: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final riidCalendar = GUID.allocate().addressOf;
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IDesktopWallpaper.dart:197:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'.
  • 'COMObject' is from 'package:win32/src/com/combase.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/com/combase.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final ptr = COMObject.allocate().addressOf;
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IDesktopWallpaper.dart:200:49: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(CLSID_DesktopWallpaper).addressOf,
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IDesktopWallpaper.dart:203:48: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(IID_IDesktopWallpaper).addressOf,
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IFileOpenDialog.dart:58:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'.
  • 'COMObject' is from 'package:win32/src/com/combase.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/com/combase.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final ptr = COMObject.allocate().addressOf;
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IFileOpenDialog.dart:61:47: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(CLSID_FileOpenDialog).addressOf,
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IFileOpenDialog.dart:64:46: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(IID_IFileOpenDialog).addressOf,
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IFileSaveDialog.dart:99:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'.
  • 'COMObject' is from 'package:win32/src/com/combase.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/com/combase.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final ptr = COMObject.allocate().addressOf;
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IFileSaveDialog.dart:102:47: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(CLSID_FileSaveDialog).addressOf,
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IFileSaveDialog.dart:105:46: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(IID_IFileSaveDialog).addressOf,
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IKnownFolderManager.dart:164:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'.
  • 'COMObject' is from 'package:win32/src/com/combase.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/com/combase.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final ptr = COMObject.allocate().addressOf;
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IKnownFolderManager.dart:167:51: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(CLSID_KnownFolderManager).addressOf,
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IKnownFolderManager.dart:170:50: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(IID_IKnownFolderManager).addressOf,
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/INetworkListManager.dart:128:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'.
  • 'COMObject' is from 'package:win32/src/com/combase.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/com/combase.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final ptr = COMObject.allocate().addressOf;
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/INetworkListManager.dart:131:51: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(CLSID_NetworkListManager).addressOf,
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/INetworkListManager.dart:134:50: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    GUID.fromString(IID_INetworkListManager).addressOf,
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IWbemLocator.dart:82:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'.
  • 'COMObject' is from 'package:win32/src/com/combase.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/com/combase.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final ptr = COMObject.allocate().addressOf;
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IWbemLocator.dart:84:68: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    final hr = CoCreateInstance(GUID.fromString(CLSID_WbemLocator).addressOf,
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/generated/IWbemLocator.dart:85:64: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
  • 'GUID' is from 'package:win32/src/structs.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    nullptr, CLSCTX_ALL, GUID.fromString(IID_IWbemLocator).addressOf, ptr);
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:63:33: Error: The getter 'addressOf' isn't defined for the class 'Utf8'.
  • 'Utf8' is from 'package:ffi/src/utf8.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
    String toString() => fromUtf8(addressOf);
    ^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf16.dart:16:7: Error: Struct 'Utf16' is empty. Empty structs and unions are undefined behavior.
    class Utf16 extends Struct {
    ^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:23:7: Error: Struct 'Utf8' is empty. Empty structs and unions are undefined behavior.
    class Utf8 extends Struct {
    ^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2999:7: Error: Struct 'NLM_SIMULATED_PROFILE_INFO' is empty. Empty structs and unions are undefined behavior.
    class NLM_SIMULATED_PROFILE_INFO extends Struct {}
    ^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2992:7: Error: Struct 'STATSTG' is empty. Empty structs and unions are undefined behavior.
    class STATSTG extends Struct {}
    ^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2985:7: Error: Struct 'CLSID' is empty. Empty structs and unions are undefined behavior.
    class CLSID extends Struct {}
    ^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2978:7: Error: Struct 'SAFEARRAY' is empty. Empty structs and unions are undefined behavior.
    class SAFEARRAY extends Struct {}
    ^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2973:7: Error: Struct 'PROPVARIANT' is empty. Empty structs and unions are undefined behavior.
    class PROPVARIANT extends Struct {}
    ^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2966:7: Error: Struct 'PROPERTYKEY' is empty. Empty structs and unions are undefined behavior.
    class PROPERTYKEY extends Struct {}
    ^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2960:7: Error: Struct 'EXCEPINFO' is empty. Empty structs and unions are undefined behavior.
    class EXCEPINFO extends Struct {}
    ^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:2835:7: Error: Struct 'BLUETOOTH_PIN_INFO' is empty. Empty structs and unions are undefined behavior.
    class BLUETOOTH_PIN_INFO extends Struct {
    ^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart:1111:7: Error: Struct 'ENUMLOGFONTEX' is empty. Empty structs and unions are undefined behavior.
    class ENUMLOGFONTEX extends Struct {
    ^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/allocation.dart:47:33: Error: Expected type 'T' to be a valid and instantiated subtype of 'NativeType'.
    final int totalSize = count * sizeOf();
    ^

FAILURE: Build failed with an exception.

  • Where:
    Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1005

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 13m 22s
Running Gradle task 'assembleDebug'... 803.9s
Exception: Gradle task assembleDebug failed with exit code 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.