asDisabled method
Copy of this tab with isEnabled forced to false.
Implementation
TTab<T> asDisabled() => TTab<T>(
value: value,
text: text,
icon: icon,
isEnabled: false,
isActive: isActive,
count: count,
content: content,
data: data,
permission: permission,
onDenied: onDenied,
);