Inheritance
System.Object
TabController
public class TabController : ChangeNotifier, Listenable
Constructors
Declaration
public TabController(int initialIndex = 0, int? length = default(int? ), TickerProvider vsync = null)
Parameters
| Type |
Name |
Description |
| System.Int32 |
initialIndex |
|
| System.Nullable<System.Int32> |
length |
|
| TickerProvider |
vsync |
|
Fields
Declaration
public readonly int length
Field Value
| Type |
Description |
| System.Int32 |
|
Properties
Declaration
public Animation<float> animation { get; }
Property Value
Declaration
public int index { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
Declaration
public bool indexIsChanging { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public float offset { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
Declaration
public int previousIndex { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Methods
Declaration
public void animateTo(int value, TimeSpan? duration = default(TimeSpan? ), Curve curve = null)
Parameters
| Type |
Name |
Description |
| System.Int32 |
value |
|
| System.Nullable<System.TimeSpan> |
duration |
|
| Curve |
curve |
|
Declaration
public override void dispose()
Overrides