Flutter용 부드러운 평점 바 위젯으로, 시각적으로 매력적이고 상호작용 가능한 별 기반 평가 시스템을 제공합니다. null 안전성으로 설계되어 Android, iOS, 웹, macOS, Windows, Linux 등 모든 플랫폼에서 신뢰할 수 있는 성능을 보장합니다. 사용자 정의 가능한 별 모양, 평점 변경 시 부드러운 애니메이션, 상호작용 및 읽기 전용 모드를 모두 지원합니다. 사용자 피드백 양식, 제품 리뷰, 앱 평가에 이상적입니다. 깔끔한 API로 통합이 간단하고 효율적입니다.
사용 사례
사용자 리뷰 및 피드백
제품 평가 시스템
앱 리뷰 인터페이스
인터랙티브 폼 요소
설문조사에서 평가 수집
주요 기능
등급 변경 시 부드러운 애니메이션
사용자 정의 가능한 별 크기 및 색상
널 안전한 구현
인터랙티브 및 비인터랙티브 모드를 모두 지원합니다
크로스 플랫폼 호환성
적합한 대상
피드백 양식을 개발하는 개발자
직관적인 평가 입력이 필요한 앱
다중 플랫폼을 대상으로 하는 프로젝트
사용자 인터페이스 중심 애플리케이션
간단한 위젯을 찾는 플러터 초보자
고려 사항
등급 값 업데이트를 수동으로 처리해야 합니다
별 기반 평가에 한정
내장된 검증 없음
단일 평가 시나리오에 가장 적합
복잡한 UI를 위해 추가 스타일링이 필요할 수 있습니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
This is the null safety version of smooth_star_rating
All the credits go to the original authors,
You can find the original package here
https://pub.dev/packages/smooth_star_rating
A Star rating with touch and swipe rate enabled
Supports replacing default star icons with desired IconData
Supports half rate and full rate (1.0 or 0.5)
Swipe for incrementing/decrementing rate amount
Change star body and boundary colors independently
allowHalfRating - Whether to use whole number forrating(1.0 or 0.5)
onRatingChanged(int rating) - Rating changed callback
starCount - The maximum amount of stars
rating - The current value of rating
size - The size of a single star
color - The body color of star
borderColor - The border color of star
spacing - Spacing between stars(defaultis0.0)
filledIconData - FullRatedIcon
halfFilledIconData - HalfRatedIcon
defaultIconData - DefaultRatedIcon