Settings isShadow to false, gives error as BoxShadow is not subtype of List[], please edit the code and wrap boxShadow in a List[].