Giter Site home page Giter Site logo

Comments (8)

imdatceleste avatar imdatceleste commented on June 4, 2024 4

Changing flutter_platform_widgets-version to ^0.32.4 in pubspec.yaml resolves this issue because the developers of flutter_platform_widgets have fixed that already.

After that, you need to flutter packages upgrade...

from timy-messenger.

manangupta657 avatar manangupta657 commented on June 4, 2024

Compiler message:
../../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-0.20.2/lib/src/platform_scaffold.dart:229:38: Error: The getter 'fullObstruction' isn't defined for the class 'ObstructingPreferredSizeWidget'.

  • 'ObstructingPreferredSizeWidget' is from 'package:flutter/src/cupertino/page_scaffold.dart' ('../../flutter/packages/flutter/lib/src/cupertino/page_scaffold.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'fullObstruction'.
    final obstruct = navigationBar.fullObstruction == null ||
    ^^^^^^^^^^^^^^^
    ../../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-0.20.2/lib/src/platform_scaffold.dart:230:25: Error: The getter 'fullObstruction' isn't defined for the class 'ObstructingPreferredSizeWidget'.
  • 'ObstructingPreferredSizeWidget' is from 'package:flutter/src/cupertino/page_scaffold.dart' ('../../flutter/packages/flutter/lib/src/cupertino/page_scaffold.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'fullObstruction'.
    navigationBar.fullObstruction;
    ^^^^^^^^^^^^^^^
    Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
    build failed.

FAILURE: Build failed with an exception.

  • Where:
    Script 'C:\Users\vipul\Desktop\manan\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 780

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

Process 'command 'C:\Users\vipul\Desktop\manan\flutter\bin\flutter.bat'' finished with non-zero exit value 1

from timy-messenger.

manangupta657 avatar manangupta657 commented on June 4, 2024

FAILURE: Build failed with an exception.

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

Missing project_info object

  • Try:

from timy-messenger.

amn-mgs avatar amn-mgs commented on June 4, 2024

I had the same problem. any help?

registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)

Compiler message:
/C:/Flutter%20SDK/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-0.20.2/lib/src/platform_scaffold.dart:229:38: Error: The getter 'fullObstruction' isn't defined for the class 'ObstructingPreferredSizeWidget'.

  • 'ObstructingPreferredSizeWidget' is from 'package:flutter/src/cupertino/page_scaffold.dart' ('/C:/Flutter%20SDK/flutter/packages/flutter/lib/src/cupertino/page_scaffold.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'fullObstruction'.
    final obstruct = navigationBar.fullObstruction == null ||
    ^^^^^^^^^^^^^^^
    /C:/Flutter%20SDK/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-0.20.2/lib/src/platform_scaffold.dart:230:25: Error: The getter 'fullObstruction' isn't defined for the class 'ObstructingPreferredSizeWidget'.
  • 'ObstructingPreferredSizeWidget' is from 'package:flutter/src/cupertino/page_scaffold.dart' ('/C:/Flutter%20SDK/flutter/packages/flutter/lib/src/cupertino/page_scaffold.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'fullObstruction'.
    navigationBar.fullObstruction;
    ^^^^^^^^^^^^^^^
    Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
    build failed.

FAILURE: Build failed with an exception.

  • Where:
    Script 'C:\Flutter SDK\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 780

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

Process 'command 'C:\Flutter SDK\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 1m 51s
Finished with error: Gradle task assembleDebug failed with exit code 1

from timy-messenger.

bd16s avatar bd16s commented on June 4, 2024

I think it's because of the upgraded flutter version. 1.10.5 works for me.

from timy-messenger.

ThuAbLKA avatar ThuAbLKA commented on June 4, 2024

@bd16s is right. The latest flutter version has some breaking changes.

from timy-messenger.

miquelbeltran avatar miquelbeltran commented on June 4, 2024

If anyone wants to provide a fix, we will be happy to merge it.

from timy-messenger.

spookbite avatar spookbite commented on June 4, 2024

Try clicking on the link mentioned in the error "package:flutter/src/cupertino/page_scaffold.dart" or the other one mentioned in the error which would be a hyperlink and change 'fullObstruction' to 'shouldFullyObstruct'. I did it today and it works.

from timy-messenger.

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.