Skip to content
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

why boxShadows is null? #3

Open
fireknight opened this issue Mar 30, 2020 · 2 comments
Open

why boxShadows is null? #3

fireknight opened this issue Mar 30, 2020 · 2 comments

Comments

@fireknight
Copy link

` 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

@JonathanMonga
Copy link
Owner

Can you try to remove config and light values?
And see what happens in this case.

@webmarket7
Copy link

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants