You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
: Error: Cannot invoke a non-'const' constructor where a const expression is expected.
bottom_bar.dart:421
Try using a constructor or factory that is 'const'.
? const Flex(
^^^^
Target kernel_snapshot failed: Exception
2
FAILURE: Build failed with an exception.
The text was updated successfully, but these errors were encountered:
The same issue for me, just pasted the example code and it gave the same error. This is the exact text of the error:
/C:/Users/....../AppData/Local/Pub/Cache/hosted/pub.dev/stylish_bottom_bar-1.0.3/lib/src/bottom_bar.dart:421:21: Error: Cannot invoke a non-'const' constructor where a const expression is expected.
Try using a constructor or factory that is 'const'.
? const Flex(
^^^^
Hi there! Same issue with me.
When I try to build iOS app I'm facing with this issue. It's started to happen after lastest Xcode and cocoapods updates etc.
Here is log;
../../../../../.pub-cache/hosted/pub.dev/stylish_bottom_bar-1.0.3/lib/src/bottom_bar.dart:421:21: Error: Cannot invoke a non-'const' constructor where a const expression is expected.
: Error: Cannot invoke a non-'const' constructor where a const expression is expected.
bottom_bar.dart:421
Try using a constructor or factory that is 'const'.
? const Flex(
^^^^
Target kernel_snapshot failed: Exception
2
FAILURE: Build failed with an exception.
The text was updated successfully, but these errors were encountered: