name property

String get name

Implementation

String get name {
  if (_name == null) {
    log(
      '$T: You have not defined name for component. On Web platform it will be unobtainable due to flutter optimizations',
    );
  }

  if (kIsWeb && _name == null) {
    return '<Unobtainable name #${component.hashCode}>';
  }

  return _name ?? '$component'.titleCase;
}