RotatingRecord

struct RotatingRecord: View

View a record image that can rotate

  • The optional SF symbol

    Declaration

    Swift

    var icon: String?
  • The title

    Declaration

    Swift

    var title: String? = ""
  • The subtitle

    Declaration

    Swift

    var subtitle: String
  • The details

    Declaration

    Swift

    var details: String
  • Do we want to rotate or not

    Declaration

    Swift

    let rotate: Bool
  • The body of the View

    Declaration

    Swift

    var body: some View
  • The minimum size of the record

    Declaration

    Swift

    func minSize(size: GeometryProxy) -> Double

    Parameters

    size

    The View size

    Return Value

    The minimum size as Double