RotatingRecord

struct RotatingRecord : View

View a record image that can rotate

  • The RotatingAnimationModel

    Declaration

    Swift

    @StateObject
    var rotateModel: RotatingRecordModel { get }
  • 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

    @Binding
    var rotate: Bool { get nonmutating set }
  • The body of the View

    Declaration

    Swift

    var body: some View { get }
  • 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