CustomRowTextWidget constructor

const CustomRowTextWidget({
  1. Key? key,
  2. required String title,
  3. required String subtitle,
  4. dynamic titleOnTap()?,
  5. dynamic subTitleOnTap()?,
  6. TextStyle? titleStyle,
  7. TextStyle? subtitleStyle,
  8. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.spaceBetween,
  9. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
})

Implementation

const CustomRowTextWidget({
  Key? key,
  required this.title,
  required this.subtitle,
  this.titleOnTap,
  this.subTitleOnTap,
  this.titleStyle,
  this.subtitleStyle,
  this.mainAxisAlignment = MainAxisAlignment.spaceBetween,
  this.crossAxisAlignment = CrossAxisAlignment.center
}) : super(key: key);