Skip to content

why boxShadows is null? #3

@fireknight

Description

@fireknight

` 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions