reset method

  1. @override
void reset()
override

Implementation

@override
void reset() {
  styleDirection = FlexDirection.ltr;
  styleCssDirection = FlexCSSDirection.column;
  justifyContent = FlexJustify.flexStart;
  alignContent = FlexAlign.flexStart;
  alignItems = FlexAlign.stretch;
  alignSelf = FlexAlign.auto;
  positionType = FlexPositionType.relative;
  wrap = FlexWrap.noWrap;
  overflow = FlexOverflow.visible;
  flexGrow = 0;
  flexShrink = 0;
  flexBasis = undefined;

  _width = double.nan;
  _height = double.nan;
  _top = double.nan;
  _left = double.nan;
}