TileDesigned constructor

const TileDesigned({
  1. Key? key,
  2. void onTap()?,
  3. Widget? prefix,
  4. Widget? child,
  5. Widget? suffix,
  6. Color background = Colors.transparent,
  7. EdgeInsetsGeometry padding = const EdgeInsets.all(20.0),
  8. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(20.0)),
})

Implementation

const TileDesigned({
  Key? key,
  this.onTap,
  this.prefix,
  this.child,
  this.suffix,
  this.background = Colors.transparent,
  this.padding = const EdgeInsets.all(20.0),
  this.borderRadius = const BorderRadius.all(Radius.circular(20.0)),
}) : super(key: key);