creativecontainer 0.1.0 creativecontainer: ^0.1.0 copied to clipboard
Creative Container package have container with different creativity.
Creative Container package have container with different creativity. For now, we have container which borders are rotating .
Features #
Container with a rotating border.
Getting started #
Usage #
class CreativeScreen extends StatefulWidget {
const CreativeScreen({super.key});
@override
State<CreativeScreen> createState() => _CreativeScreenState();
}
class _CreativeScreenState extends State<CreativeScreen> {
@override
Widget build(BuildContext context) {
double h = MediaQuery.of(context).size.height;
double w = MediaQuery.of(context).size.width;
return Scaffold(
body: Container(
color: Color.fromARGB(255, 16, 20, 35),
height: h,
width: w,
child: Center(
child: CreativeContainer(
height: 200,
width: 200,
borderThickness: 5,
child: const Center(
child: Text(
"Creative Container",
style: TextStyle(color: Colors.white),
),
),
),
),
),
);
}
}
Additional information #
Package will have more creative Container in Future. Enjoy this for now.