TileStyle.from constructor

TileStyle.from(
  1. TileStyle? other
)

Create a TileStyle from another style

Implementation

TileStyle.from(TileStyle? other)
    : direction = other?.direction,
      margin = other?.margin,
      spacing = other?.spacing,
      spacingEnforced = other?.spacingEnforced,
      crossAxisAlignment = other?.crossAxisAlignment,
      mainAxisAlignment = other?.mainAxisAlignment,
      mainAxisExpanded = other?.mainAxisExpanded,
      childExpanded = other?.childExpanded;