KRCard constructor

const KRCard({
  1. Key? key,
  2. required String title,
  3. required Widget child,
  4. EdgeInsetsGeometry padding = const EdgeInsets.all(KRTheme.PADDING_NORMAL),
  5. int backgroundColor = KRTheme.DEFAULT_LIGHT_COLOR,
  6. int textColor = KRTheme.DEFAULT_DARK_COLOR,
})

Implementation

const KRCard({
  Key? key,
  required this.title,
  required this.child,
  this.padding = const EdgeInsets.all(KRTheme.PADDING_NORMAL),
  this.backgroundColor = KRTheme.DEFAULT_LIGHT_COLOR,
  this.textColor = KRTheme.DEFAULT_DARK_COLOR,
}) : super(key: key);