glassycontainer 0.0.6 glassycontainer: ^0.0.6 copied to clipboard
Add Glassmorphic containers in your app to make it more attrative and user friendly.
Use Glassmorphic container in your apps to make your UI more attractive
Features #
->You can use Color/Gradients ->Add height and width ->child of container
Getting started #
Add glassycontainer in your pubspec file and run pub get
Usage #
Use in your Home Screen to make it more attractive.
class GlassyContainer extends StatelessWidget {
const GlassyContainer({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return const Center(
child: GlassyContainer(
child: Center(child: Text("we are testing")),
height: 200,
width: 200,
color: Colors.white,
blur: 20,
opacity: 0.3,
radius: 30,
//Gradient for your GlassyContainer
gradient: LinearGradient(colors: [Colors.red, Colors.yellow]),
),
);
}
}
Additional information #
Check our git repo for contribution or any issue.