Flutter-Neumorphic
Flutter-Neumorphic copied to clipboard
Expected a value of type 'SkDeletable', but got one of type 'Null'
======== Exception caught by rendering library =====================================================
The following TypeErrorImpl was thrown during paint():
Expected a value of type 'SkDeletable', but got one of type 'Null'
The relevant error-causing widget was:
NeumorphicButton file:///C:/Users/lkrja/AndroidStudioProjects/intern%20projects/timemarksdashboard/lib/Presentation/Widgets/Buttons/NeoButtonCustom.dart:14:12
When the exception was thrown, this was the stack:
http://localhost:56203/C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 236:49 throw_
http://localhost:56203/C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 84:3 castError
http://localhost:56203/C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/types.dart 266:34 as
http://localhost:56203/C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/canvaskit/skia_object_cache.dart 146:55 new
http://localhost:56203/C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/canvaskit/mask_filter.dart 10:3 blur
...
The following RenderObject was being processed when the exception was fired: RenderDecoratedBox#f9e07 relayoutBoundary=up13
... parentData: offset=Offset(0.0, 0.0) (can use size)
... constraints: BoxConstraints(0.0<=w<=1176.1, 0.0<=h<=Infinity)
... size: Size(266.0, 50.0)
... decoration: NeumorphicDecoration
... configuration: ImageConfiguration(bundle: PlatformAssetBundle#21d4d(), devicePixelRatio: 1.3, locale: en_US, textDirection: TextDirection.ltr, platform: windows)
RenderObject: RenderDecoratedBox#f9e07 relayoutBoundary=up13
parentData: offset=Offset(0.0, 0.0) (can use size)
constraints: BoxConstraints(0.0<=w<=1176.1, 0.0<=h<=Infinity)
size: Size(266.0, 50.0)
decoration: NeumorphicDecoration
configuration: ImageConfiguration(bundle: PlatformAssetBundle#21d4d(), devicePixelRatio: 1.3, locale: en_US, textDirection: TextDirection.ltr, platform: windows)
... child: RenderDecoratedBox#1b99c relayoutBoundary=up14
... parentData: <none> (can use size)
... constraints: BoxConstraints(0.0<=w<=1176.1, 0.0<=h<=Infinity)
... size: Size(266.0, 50.0)
... decoration: NeumorphicDecoration
... configuration: ImageConfiguration(bundle: PlatformAssetBundle#21d4d(), devicePixelRatio: 1.3, locale: en_US, textDirection: TextDirection.ltr, platform: windows)
... child: RenderPadding#13e02 relayoutBoundary=up15
... parentData: <none> (can use size)
... constraints: BoxConstraints(0.0<=w<=1176.1, 0.0<=h<=Infinity)
... size: Size(266.0, 50.0)
... padding: EdgeInsets.zero
... textDirection: ltr
... child: RenderClipPath#46d52 relayoutBoundary=up16
... parentData: offset=Offset(0.0, 0.0) (can use size)
... constraints: BoxConstraints(0.0<=w<=1176.1, 0.0<=h<=Infinity)
... size: Size(266.0, 50.0)
... child: RenderPadding#7b496 relayoutBoundary=up17
... parentData: <none> (can use size)
... constraints: BoxConstraints(0.0<=w<=1176.1, 0.0<=h<=Infinity)
... size: Size(266.0, 50.0)
... padding: EdgeInsets(18.0, 10.0, 18.0, 10.0)
... textDirection: ltr
====================================================================================================
#213