isNotEmpty property

bool get isNotEmpty

Check if there are any layout properties set

Implementation

bool get isNotEmpty {
  return width != null ||
      height != null ||
      minWidth != null ||
      maxWidth != null ||
      minHeight != null ||
      maxHeight != null ||
      margin != null ||
      marginTop != null ||
      marginRight != null ||
      marginBottom != null ||
      marginLeft != null ||
      marginHorizontal != null ||
      marginVertical != null ||
      padding != null ||
      paddingTop != null ||
      paddingRight != null ||
      paddingBottom != null ||
      paddingLeft != null ||
      paddingHorizontal != null ||
      paddingVertical != null ||
      position != null ||
      absoluteLayout?.isNotEmpty == true ||
      rotateInDegrees != null ||
      scale != null ||
      scaleX != null ||
      scaleY != null ||
      flexDirection != null ||
      justifyContent != null ||
      alignItems != null ||
      alignSelf != null ||
      alignContent != null ||
      flexWrap != null ||
      flex != null ||
      flexGrow != null ||
      flexShrink != null ||
      flexBasis != null ||
      display != null ||
      overflow != null ||
      direction != null ||
      aspectRatio != null ||
      gap != null ||
      rowGap != null ||
      columnGap != null ||
      borderWidth != null;
}