0 purchases
claymorphism
Claymorphism Package #
A Flutter package that provides claymorphic UI containers for a modern and aesthetic design.
Features #
Easy-to-use claymorphic containers for UI design.
Customizable properties to adjust the appearance of the containers.
Provides various container shapes and styles.
Compatible with Flutter web and mobile applications.
Installation #
Add the following line to your pubspec.yaml file:
dependencies:
claymorphism: ^0.1.2
copied to clipboard
Example #
Clay Card #
class HomeScreen extends StatelessWidget {
const HomeScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.grey.shade300,
body: Center(
child: ClayCard(
height: MediaQuery.of(context).size.height * 0.35,
width: MediaQuery.of(context).size.height * 0.35,
),
),
);
}
}
copied to clipboard
Clay Card with Shadow #
class HomeScreen extends StatelessWidget {
const HomeScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.grey.shade300,
body: Center(
child: CardWithShadow(
height: MediaQuery.of(context).size.height * 0.35,
width: MediaQuery.of(context).size.height * 0.35,
),
),
);
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.