DataRowByIndex class Null safety

Implemented types

Constructors

DataRowByIndex({int? index, bool selected, Callback? onSelect, Callback? onDeselect, Callback? onLongPress, MaterialStateProperty? color, required List<DataCell> cells})
const
factory
DataRowByIndex.fromJson(Map<String, dynamic> json)
factory

Properties

cells → List<DataCell>
read-only, override
color → MaterialStateProperty?
read-only, override
copyWith → _$$DataRowByIndexCopyWith<_$DataRowByIndex>
@JsonKey(ignore: true), read-only, override
hashCode → int
The hash code for this object.
read-only, inherited
index → int?
read-only
onDeselect → Callback?
read-only, override
onLongPress → Callback?
read-only, override
onSelect → Callback?
read-only, override
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
selected → bool
read-only, override

Methods

map<TResult extends Object?>(TResult $default(_DataRow value), {required TResult byIndex(DataRowByIndex value)}) → TResult
@optionalTypeArgs, inherited
mapOrNull<TResult extends Object?>(TResult? $default(_DataRow value)?, {TResult? byIndex(DataRowByIndex value)?}) → TResult?
@optionalTypeArgs, inherited
maybeMap<TResult extends Object?>(TResult $default(_DataRow value)?, {TResult byIndex(DataRowByIndex value)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
maybeWhen<TResult extends Object?>(TResult $default(Key? key, bool selected, Callback? onSelect, Callback? onDeselect, Callback? onLongPress, MaterialStateProperty? color, List<DataCell> cells)?, {TResult byIndex(int? index, bool selected, Callback? onSelect, Callback? onDeselect, Callback? onLongPress, MaterialStateProperty? color, List<DataCell> cells)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
inherited
toString() → String
A string representation of this object.
inherited
when<TResult extends Object?>(TResult $default(Key? key, bool selected, Callback? onSelect, Callback? onDeselect, Callback? onLongPress, MaterialStateProperty? color, List<DataCell> cells), {required TResult byIndex(int? index, bool selected, Callback? onSelect, Callback? onDeselect, Callback? onLongPress, MaterialStateProperty? color, List<DataCell> cells)}) → TResult
@optionalTypeArgs, inherited
whenOrNull<TResult extends Object?>(TResult? $default(Key? key, bool selected, Callback? onSelect, Callback? onDeselect, Callback? onLongPress, MaterialStateProperty? color, List<DataCell> cells)?, {TResult? byIndex(int? index, bool selected, Callback? onSelect, Callback? onDeselect, Callback? onLongPress, MaterialStateProperty? color, List<DataCell> cells)?}) → TResult?
@optionalTypeArgs, inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited