Giter Site home page Giter Site logo

Comments (2)

jaketothepast avatar jaketothepast commented on August 10, 2024

So I tried a minimal repro on my side, and even the minimal repro had the same issues.

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 3.11.0-0.1.pre, on macOS 13.0 22A380 darwin-arm64, locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2022.3.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.1)
[✓] VS Code (version 1.78.2)
[✓] Connected device (3 available)
[✓] Network resources

Here is my Flutter Doctor output, here's the code from within a normal stateless widget.:

@override
  Widget build(BuildContext context) {
    final chatUser = ChatUser(id: "me");
    final chatUserTwo = ChatUser(id: "other");
    final messages = [
      ChatMessage(user: chatUser, createdAt: DateTime.now(), text: "hi")
    ];
    final onSend = (thing) {};
    return Scaffold(
      body: DashChat(
        currentUser: chatUser,
        onSend: onSend,
        messages: messages,
      ),
    )
}

Maybe this has something to do with the beta channel?

from dash-chat-2.

jaketothepast avatar jaketothepast commented on August 10, 2024

There was a weird widget sitting at the top of the widget tree that was breaking this behavior. Closing as there is no issue.

from dash-chat-2.

Related Issues (20)

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.