fileName property

String get fileName

Implementation

String get fileName {
  var uri = widget.initialValue?.uri;
  if (uri != null) {
    return Uri.parse(uri).pathSegments.last;
  } else {
    return '';
  }
}