DataTableCell class Null safety Models

DataCell에 추가적인 데이터를 담기위해 커스텀한 모델입니다. CustomDataTable은 이 모델을 파라메터로 받아 DataCell을 그립니다.

Annotations

Constructors

DataTableCell({required String id, String? text, Widget? child, bool showEditIcon = false, Function? onTap})
DataTableCell.fromJson(Map<String, dynamic> json)
factory

Properties

child Widget?
셀 내용에 위젯을 그려야할 경우 사용합니다.
@JsonKey(name: 'child', ignore: true), final
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
소 아이디나 UI상 id 정보가 필요한 경우 사용합니다.
@JsonKey(name: 'id'), final
onTap Function?
테이블 셀을 탭했을때 콜백함수입니다.
@JsonKey(ignore: true), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
showEditIcon bool
수정 아이콘을 보여줄지를 결정합니다.
@JsonKey(name: 'showEditIcon'), final
text String?
셀 내용에 텍스트만 필요한 경우 사용합니다.
@JsonKey(name: 'text'), final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited