Skip to content

this package help you to give glassomorphic+ neomrphic both effects to a container (at a time).

License

Notifications You must be signed in to change notification settings

lkrjangid1/Duomorphsim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

duomorphsim

this package help you to give glassomorphic+ neomrphic both effects to a container (at a time).

WhatsApp Image 2021-08-21 at 5 20 05 PM

Usage

DuoMorphicCard need four argument which is child, width, height and radious of card

            DuoMorphicCard(
              height: 200,
              width: 200,
              blur: 5,
              innerShadowColor: Colors.grey,
              radius: BorderRadius.circular(10),
              cardBackgroundColor: Colors.white,
              opacity: 0.5,
              offset: Offset(-5, -5),
              child: Center(
                child: Text('Hello World'),
              ),
            ),