Implement LinearGradient
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Description
LinearGradient is a fundamental gradient type in SwiftUI that creates a gradient between colors along a linear axis. This is currently missing from OpenSwiftUI.
API Reference
SwiftUI's LinearGradient: https://developer.apple.com/documentation/swiftui/lineargradient
Expected API
struct LinearGradient: ShapeStyle, View {
init(gradient: Gradient, startPoint: UnitPoint, endPoint: UnitPoint)
init(colors: [Color], startPoint: UnitPoint, endPoint: UnitPoint)
init(stops: [Gradient.Stop], startPoint: UnitPoint, endPoint: UnitPoint)
}
Use Case
Required for the AnimatedColorTimelineView example and many other gradient-based UI designs.
References
- Example usage commented out in:
Example/SharedExample/Animation/Timeline/AnimatedColorTimelineView.swift
Priority
Medium - Common UI element for creating gradient backgrounds and fills
- Ngôn ngữ chính
- Swift
- Star
- 2.5k
- Fork
- 84
- Merge trung bình
- 2 giờ 8 phút
- Pull request đã merge (30 ngày)
- 62
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của OpenSwiftUIProject/OpenSwiftUI
-
macOS button text differs from SwiftUI in interaction snapshotsCó thể đã có người làm @Kyle-Ye đã nhận hôm nay. Đang mởarea: rendering area: text impact: visual-diff platform: macOS type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
OpenSwiftUIProject/OpenSwiftUI#1140 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add Accessibility supportCó thể đã có người làm @Kyle-Ye đã nhận 15 ngày trước. Đang mởarea: accessibility area: hosting-bridge type: feature
OpenSwiftUIProject/OpenSwiftUI#1112 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add Gauge supportĐang mởarea: rendering area: view type: feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
OpenSwiftUIProject/OpenSwiftUI#1022 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: animation area: rendering contrib: help wanted impact: visual-diff type: bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
OpenSwiftUIProject/OpenSwiftUI#984 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add List supportĐang mởarea: layout area: rendering area: view type: feature
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 28/100
OpenSwiftUIProject/OpenSwiftUI#919 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của OpenSwiftUIProject/OpenSwiftUI
Issue tương tự
-
install.ps1: Windows PowerShell 5.1 aborts after a successful cosign verification (NativeCommandError on 'Verified OK')Có thể đã có người làm @sly321-pixel đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
OneBusAway/onebusaway-ios#1518 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
area: agents
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
manaflow-ai/cmux#19972 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
VerificationCodeInputField: iPad Return key clears/hides OTP fieldsCó thể đã có người làm @amansingh1207 đã nhận hôm nay. Đang mởneeds attention
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
firebase/FirebaseUI-iOS#1407 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
component: swift renderer P2 type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
a2ui-project/a2ui#3146 ·
Maintainer thường phản hồi trong vòng 2 ngày