Git Product home page Git Product logo

chat-app-flutter's Issues

Issue pertaining with frontend and backend connection

I was able to deployed the backend on Heroku without docker with is working pretty well, simply can see apollo server graphql playground, but anytime l link it the main.dart of the app, it doesn't connect.
Outcome"Ooops something went wrong"
Please am i missing something somewhere?

Fails on iOS

I have tried to build on iOS as-is. App failed to run on emulator.

Some error on builder graphql

Hi,
I just got error when I tried to test the app, I got these error, any way to fix it. Thanks

const Mutation({
^^^^^^^^
lib/src/screens/settings/settings.dart:88:16: Error: The function expression type 'Widget Function(QueryResult, {Future Function() refetch})' isn't of expected type 'Widget Function(QueryResult, {dynamic Function(FetchMoreOptions) fetchMore, Future Function() refetch})'.

  • 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('../../flutter/packages/flutter/lib/src/widgets/framework.dart').
  • 'QueryResult' is from 'package:graphql/src/core/query_result.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/graphql-3.0.0/lib/src/core/query_result.dart').
  • 'Future' is from 'dart:async'.
  • 'FetchMoreOptions' is from 'package:graphql/src/core/query_options.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/graphql-3.0.0/lib/src/core/query_options.dart').
    Change the type of the function expression or the context in which it is used.
    builder: (res, {refetch}) {
    ^
    lib/src/screens/settings/settings.dart:154:7: Error: No named parameter with the name 'onCompleted'.
    onCompleted: (result) async {
    ^^^^^^^^^^^
    ../../flutter/.pub-cache/hosted/pub.dartlang.org/graphql_flutter-3.0.0/lib/src/widgets/mutation.dart:21:9: Context: Found this candidate, but the arguments don't match.
    const Mutation({
    ^^^^^^^^
    lib/src/screens/users/users.dart:160:7: Error: No named parameter with the name 'update'.
    update: (Cache cache, QueryResult result) => cache,
    ^^^^^^
    ../../flutter/.pub-cache/hosted/pub.dartlang.org/graphql_flutter-3.0.0/lib/src/widgets/mutation.dart:21:9: Context: Found this candidate, but the arguments don't match.
    const Mutation({
    ^^^^^^^^
    lib/src/screens/users/users.dart:202:16: Error: The function expression type 'Widget Function(QueryResult, {Future Function() refetch})' isn't of expected type 'Widget Function(QueryResult, {dynamic Function(FetchMoreOptions) fetchMore, Future Function() refetch})'.
  • 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('../../flutter/packages/flutter/lib/src/widgets/framework.dart').
  • 'QueryResult' is from 'package:graphql/src/core/query_result.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/graphql-3.0.0/lib/src/core/query_result.dart').
  • 'Future' is from 'dart:async'.
  • 'FetchMoreOptions' is from 'package:graphql/src/core/query_options.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/graphql-3.0.0/lib/src/core/query_options.dart').
    Change the type of the function expression or the context in which it is used.
    builder: (result, {refetch}) {
    ^
    Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
    build failed.

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.