Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

ClipShadow not wrapping child fully #3

@DennisMuchiri

Description

@DennisMuchiri

ClipShadow does not wrap its child inside itself fully. It cuts out a section of my clipper.

eg this
Screenshot_2020-04-27_102903_crop1

should be like
crop2

-My code

return Container(
child: ClipShadow(
clipper: SearchPageClipPainter(
),
boxShadow: [
BoxShadow(
offset: Offset(0.0, 0.0),
blurRadius: 5.0,
spreadRadius: 5.0,
color: VerificationAppTheme.grey,
)
],
child: Container(
height: MediaQuery.of(context).size.height * 0.45,
width: MediaQuery.of(context).size.width,
decoration: BoxDecoration(
color: MyAppTheme.colorGreenAppBar,
),

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