FTabManagedControl constructor

const FTabManagedControl({
  1. FTabController? controller,
  2. int? initial,
  3. FTabMotion? motion,
  4. ValueChanged<int>? onChange,
})

Creates a FTabControl.

Implementation

const FTabManagedControl({this.controller, this.initial, this.motion, this.onChange})
  : assert(
      controller == null || initial == null,
      'Cannot provide both controller and initial. Pass initial index to controller instead.',
    ),
    assert(
      controller == null || motion == null,
      'Cannot provide both controller and motion. Pass motion to controller instead.',
    ),
    super._();