flutter_shine.dart
flutter_shine.dart copied to clipboard
why boxShadows is null?
` IndexedStack(
index: _tabIndex,
children: <Widget>[
FlutterShine(
config: Config(shadowColor: Color(0xFF3498D8),blur: 35,blurPow:1),
light: Light(intensity: 1,position:Point(0,0)),
builder: (BuildContext context, ShineShadow shineShadow) {
print("shineShadow=$shineShadow");
return
Container(
width: double.infinity,
height: 300,
decoration: BoxDecoration(
color: Colors.white, boxShadow: shineShadow.boxShadows),);})
],
)
`
The getter 'boxShadows' was called on null. Receiver: null Tried calling: boxShadows
Can you try to remove config and light values? And see what happens in this case.
@JonathanMonga Hi! I have same issue with text. If I remove config and light values, no errors are thrown. But I need custom settings. Is there any fix for this?