length property
The number of tabs / pages. It can set dynamically
Example:
// We start with 2 tabs
final myInjectedTabPageView = RM.injectedTabPageView(length: 2);
// Later on, we can extend or shrink the length of tab views.
// Tab/page views are updated to display three views
myInjectedTabPageView.length = 3
// Tab/page views are updated to display one view
myInjectedTabPageView.length = 1
Implementation
late int length;