inner_shadow_widget 0.0.3 inner_shadow_widget: ^0.0.3 copied to clipboard
light widget to work with inner shadow
Getting started #
Use InnerShadow ( Widget ) double blur; Color color; Offset offset;
Example #
InnerShadow(
blur: 9,
offset: const Offset(-5, -5),
color: const Color(0xffA6B4C8).withOpacity(0.3),
child: InnerShadow(
blur: 10,
offset: offset,
color: const Color(0x00fefeff).withOpacity(0.6),
child: Container(
width: 300,
height: 300,
decoration: const BoxDecoration(
color: Color(0xffE9EDF0), shape: BoxShape.circle,
// border: Border.fromBorderSide(
// BorderSide(color: Colors.black12),
// ),
),
),
),
);