TRoundedContainer constructor

const TRoundedContainer({
  1. Key? key,
  2. Widget? child,
  3. double? width,
  4. double? height,
  5. EdgeInsets? margin,
  6. bool showShadow = true,
  7. bool showBorder = false,
  8. EdgeInsets padding = const EdgeInsets.all(TSizes.md),
  9. Color borderColor = TColors.borderPrimary,
  10. double radius = TSizes.cardRadiusLg,
  11. Color backgroundColor = TColors.white,
  12. 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,
});