toTab method

TTab toTab([
  1. dynamic effectiveValue
])

Converts this TFormTab to a TTab widget representation.

Implementation

TTab<dynamic> toTab([dynamic effectiveValue]) {
  return TTab<dynamic>(
    value: effectiveValue ?? value ?? title,
    text: title,
    icon: icon,
    isEnabled: isEnabled,
    isActive: isActive,
    data: data,
  );
}