MenuListContent constructor

const MenuListContent({
  1. Key? key,
  2. Widget? leading,
  3. required Widget title,
  4. Widget? subTitle,
  5. Widget trailing = const Icon(Icons.arrow_forward_ios, size: 20),
  6. void onTap()?,
  7. EdgeInsetsGeometry padding = const EdgeInsets.only(right: 10, top: 14, bottom: 14),
  8. double leadingSpace = 45,
  9. bool? iosStyle,
})

Implementation

const MenuListContent({
  Key? key,
  this.leading,
  required this.title,
  this.subTitle,
  this.trailing = const Icon(
    Icons.arrow_forward_ios,
    size: 20,
  ),
  this.onTap,
  this.padding = const EdgeInsets.only(
    right: 10,
    top: 14,
    bottom: 14,
  ),
  this.leadingSpace = 45,
  this.iosStyle,
}) : super(key: key);