NeuContainer constructor
const
NeuContainer({
- Key? key,
- Offset offset = neuOffset,
- Color? color = neuDefault1,
- Color shadowColor = neuShadow,
- Color borderColor = neuBlack,
- double? height,
- double? width,
- double borderWidth = neuBorder,
- double shadowBlurRadius = neuShadowBlurRadius,
- BlurStyle shadowBlurStyle = neuBlurStyle,
- Widget? child,
- BorderRadiusGeometry? borderRadius,
A customizable neubrutalist-style Container Template, allowing user to experiment freely without any restriction in functionality.
This button is built using Flutter's Material widget, and is designed to
follow the Neubrutalism UI style guidelines.
*Constants
-
const neuBlack = Colors.black;
-
const neuDefault1 = Colors.teal;
-
const neuShadow = Color(0xFF080808);
-
const neuBorder = 3.0;
-
const neuShadowBlurRadius = 0.0;
-
const neuOffset = Offset(4, 4);
-
const neuBlurStyle = BlurStyle.solid;
Implementation
/// - const neuBlack = Colors.black;
/// - const neuDefault1 = Colors.teal;
/// - const neuShadow = Color(0xFF080808);
///
/// - const neuBorder = 3.0;
/// - const neuShadowBlurRadius = 0.0;
///
/// - const neuOffset = Offset(4, 4);
/// - const neuBlurStyle = BlurStyle.solid;
const NeuContainer({
super.key,
this.offset = neuOffset,
this.color = neuDefault1,
this.shadowColor = neuShadow,
this.borderColor = neuBlack,
this.height,
this.width,
this.borderWidth = neuBorder,
this.shadowBlurRadius = neuShadowBlurRadius,
this.shadowBlurStyle = neuBlurStyle,
this.child,
this.borderRadius,
});