I\'m getting a thread issue that says "Invalid frame dimension (negative or non-finite)."
Here\'s my code:
struct CellSty
Because it is documented interface contract:
/// - Parameters:
/// - width: A fixed width for the resulting view. If `width` is `nil`,
/// the resulting view assumes this view's sizing behavior.
/// - height: A fixed height for the resulting view. If `height` is `nil`,
/// the resulting view assumes this view's sizing behavior.
/// - alignment: The alignment of this view inside the resulting view.
/// `alignment` applies if this view is smaller than the size given by
/// the resulting frame.
///
/// - Returns: A view with fixed dimensions of `width` and `height`, for the
/// parameters that are non-`nil`.
@inlinable public func frame(width: CGFloat? = nil, height: CGFloat? = nil, alignment: Alignment = .center) -> some View
whereas modifier type with min/max arguments allows flexible constraints (not copied here - read in generated SwiftUI module).