TabGroup constructor

TabGroup({
  1. required int id,
  2. required bool collapsed,
  3. required Color color,
  4. String? title,
  5. required int windowId,
})

Implementation

TabGroup({
  /// The ID of the group. Group IDs are unique within a browser session.
  required int id,

  /// Whether the group is collapsed. A collapsed group is one whose tabs are
  /// hidden.
  required bool collapsed,

  /// The group's color.
  required Color color,

  /// The title of the group.
  String? title,

  /// The ID of the window that contains the group.
  required int windowId,
}) : _wrapped = $js.TabGroup(
        id: id,
        collapsed: collapsed,
        color: color.toJS,
        title: title,
        windowId: windowId,
      );