TRoundedContainer constructor
const
TRoundedContainer({
- Key? key,
- Widget? child,
- double? width,
- double? height,
- EdgeInsets? margin,
- bool showShadow = true,
- bool showBorder = false,
- EdgeInsets padding = const EdgeInsets.all(TSizes.md),
- Color borderColor = TColors.borderPrimary,
- double radius = TSizes.cardRadiusLg,
- Color backgroundColor = TColors.white,
- void onTap()?,
Implementation
const TRoundedContainer({
super.key,
this.child,
this.width,
this.height,
this.margin,
this.showShadow = true,
this.showBorder = false,
this.padding = const EdgeInsets.all(TSizes.md),
this.borderColor = TColors.borderPrimary,
this.radius = TSizes.cardRadiusLg,
this.backgroundColor = TColors.white,
this.onTap,
});