VEntity constructor

VEntity({
  1. required String path,
  2. required VFS vfs,
  3. Widget iconBuilder(
    1. BuildContext context,
    2. double? size
    )?,
  4. Widget titleBuilder(
    1. BuildContext context
    )? = _buildTitle,
  5. Widget subtitleBuilder(
    1. BuildContext context
    )?,
  6. Widget trailingBuilder(
    1. BuildContext context
    )?,
})

Implementation

VEntity(
    {required String path,
    required this.vfs,
    this.iconBuilder,
    this.titleBuilder = _buildTitle,
    this.subtitleBuilder,
    this.trailingBuilder})
    : path = VPaths.sanitize(path);