copy method

SemanticsConfiguration copy ()

Returns an exact copy of this configuration.

Implementation

SemanticsConfiguration copy() {
  return SemanticsConfiguration()
    .._isSemanticBoundary = _isSemanticBoundary
    ..explicitChildNodes = explicitChildNodes
    ..isBlockingSemanticsOfPreviouslyPaintedNodes = isBlockingSemanticsOfPreviouslyPaintedNodes
    .._hasBeenAnnotated = _hasBeenAnnotated
    .._isMergingSemanticsOfDescendants = _isMergingSemanticsOfDescendants
    .._textDirection = _textDirection
    .._sortKey = _sortKey
    .._label = _label
    .._increasedValue = _increasedValue
    .._value = _value
    .._decreasedValue = _decreasedValue
    .._hint = _hint
    .._hintOverrides = _hintOverrides
    .._elevation = _elevation
    .._thickness = _thickness
    .._flags = _flags
    .._tagsForChildren = _tagsForChildren
    .._textSelection = _textSelection
    .._scrollPosition = _scrollPosition
    .._scrollExtentMax = _scrollExtentMax
    .._scrollExtentMin = _scrollExtentMin
    .._actionsAsBits = _actionsAsBits
    .._indexInParent = indexInParent
    .._scrollIndex = _scrollIndex
    .._scrollChildCount = _scrollChildCount
    .._platformViewId = _platformViewId
    .._actions.addAll(_actions)
    .._customSemanticsActions.addAll(_customSemanticsActions);
}