CustomListRow constructor

const CustomListRow({
  1. Key? key,
  2. Widget? leading,
  3. required Widget title,
  4. Widget? trailing,
  5. required VoidCallback onTap,
  6. Color? splashColor = Colors.transparent,
  7. bool toggle = false,
})

Implementation

const CustomListRow({
  super.key,
  this.leading,
  required this.title,
   this.trailing,
  required this.onTap,
  this.splashColor = Colors.transparent,
  this.toggle = false,
});