ListTile constructor

ListTile({
  1. required Object? title,
  2. Object? subtitle,
  3. String? leadingIcon,
  4. String? trailingIcon,
  5. bool dense = false,
  6. ColorToken? color,
  7. Object? borderRadius,
  8. Object? contentPadding,
  9. Object? onTap,
  10. String? name,
  11. Object? visible,
})

Implementation

ListTile({
  required Object? title,
  Object? subtitle,
  this.leadingIcon,
  this.trailingIcon,
  this.dense = false,
  this.color,
  this.borderRadius,
  this.contentPadding,
  Object? onTap,
  String? name,
  Object? visible,
}) : title = normalizeExpression(title),
     subtitle = normalizeNullableExpression(subtitle),
     onTap = normalizeActionSequence(onTap, parameterName: 'onTap'),
     super(name: name, visible: _normalizeVisibility(visible));