-
-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NeumorphicButton throws error with version flutter_neumorphic 3.0.1 #158
Comments
Same here
|
+1 |
The same for me... ;) |
Same |
+1 |
florent37
added a commit
that referenced
this issue
Sep 9, 2020
Closes: #158 : Retrieving theme with correct method
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following NoSuchMethodError was thrown building _BodyBuilder:
The getter 'current' was called on null.
Receiver: null
Tried calling: current
The relevant error-causing widget was:
Scaffold file:///home/krishnakumar/Flutter_Projects/dhwark/lib/screens/home_screen.dart:34:12
When the exception was thrown, this was the stack:
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)
#1 _NeumorphicButtonState.updateInitialStyle (package:flutter_neumorphic/src/widget/button.dart:95:49)
#2 _NeumorphicButtonState.didChangeDependencies (package:flutter_neumorphic/src/widget/button.dart:110:5)
#3 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4661:12)
#4 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
...
════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter (10924): Another exception was thrown: NoSuchMethodError: The getter 'current' was called on null.
I/flutter (10924): Another exception was thrown: Each child must be laid out exactly once.
I/flutter (10924): Another exception was thrown: NoSuchMethodError: The getter 'current' was called on null.
I/flutter (10924): Another exception was thrown: Each child must be laid out exactly once.
I/flutter (10924): Another exception was thrown: NoSuchMethodError: The getter 'current' was called on null.
I/flutter (10924): Another exception was thrown: Each child must be laid out exactly once.
I/flutter (10924): Another exception was thrown: NoSuchMethodError: The getter 'current' was called on null.
I/flutter (10924): Another exception was thrown: Each child must be laid out exactly once.
I/flutter (10924): Another exception was thrown: NoSuchMethodError: The getter 'current' was called on null.
I/flutter (10924): Another exception was thrown: Each child must be laid out exactly once.
I/flutter (10924): Another exception was thrown: NoSuchMethodError: The getter 'current' was called on null.
I/flutter (10924): Another exception was thrown: Each child must be laid out exactly once.
════════ Exception caught by rendering library ═════════════════════════════════════════════════════
Each child must be laid out exactly once.
The relevant error-causing widget was:
Scaffold file:///home/krishnakumar/Flutter_Projects/dhwark/lib/screens/home_screen.dart:34:12
I/flutter (10924): Another exception was thrown: NoSuchMethodError: The getter 'current' was called on null.
════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter (10924): Another exception was thrown: Each child must be laid out exactly once.
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following NoSuchMethodError was thrown building _BodyBuilder:
The getter 'current' was called on null.
Receiver: null
Tried calling: current
The relevant error-causing widget was:
Scaffold file:///home/krishnakumar/Flutter_Projects/dhwark/lib/screens/home_screen.dart:34:12
When the exception was thrown, this was the stack:
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)
#1 _NeumorphicButtonState.updateInitialStyle (package:flutter_neumorphic/src/widget/button.dart:95:49)
#2 _NeumorphicButtonState.didChangeDependencies (package:flutter_neumorphic/src/widget/button.dart:110:5)
#3 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4661:12)
#4 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
...
════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter (10924): Another exception was thrown: NoSuchMethodError: The getter 'current' was called on null.
I/flutter (10924): Another exception was thrown: Each child must be laid out exactly once.
I/flutter (10924): Another exception was thrown: NoSuchMethodError: The getter 'current' was called on null.
I/flutter (10924): Another exception was thrown: Each child must be laid out exactly once.
I/flutter (10924): Another exception was thrown: NoSuchMethodError: The getter 'current' was called on null.
I/flutter (10924): Another exception was thrown: Each child must be laid out exactly once.
I/flutter (10924): Another exception was thrown: NoSuchMethodError: The getter 'current' was called on null.
I/flutter (10924): Another exception was thrown: Each child must be laid out exactly once.
I/flutter (10924): Another exception was thrown: NoSuchMethodError: The getter 'current' was called on null.
I/flutter (10924): Another exception was thrown: Each child must be laid out exactly once.
I/flutter (10924): Another exception was thrown: NoSuchMethodError: The getter 'current' was called on null.
I/flutter (10924): Another exception was thrown: Each child must be laid out exactly once.
════════ Exception caught by rendering library ═════════════════════════════════════════════════════
Each child must be laid out exactly once.
The relevant error-causing widget was:
Scaffold file:///home/krishnakumar/Flutter_Projects/dhwark/lib/screens/home_screen.dart:34:12
════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter (10924): Another exception was thrown: NoSuchMethodError: The getter 'current' was called on null.
I/flutter (10924): Another exception was thrown: Each child must be laid out exactly once.
The text was updated successfully, but these errors were encountered: