패키지, 저장소 및 앱 카테고리 검색

rating_dialog 표지
패키지 상세v2.0.4

rating_dialog

Flutter용 아름답고 사용자 정의 가능한 별점 평가 대화 상자 패키지

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
2.1천
좋아요
250
Pub 점수
150

패키지 설치

flutter pub add rating_dialog

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Flutter 애플리케이션을 위한 시각적으로 매력적이고 매우 사용자 정의 가능한 별점 다이얼로그입니다. 개발자가 앱에 고급스러운 평가 프롬프트를 쉽게 통합할 수 있도록 하여 사용자가 직관적인 별 선택을 통해 피드백을 제공할 수 있게 합니다. 색상, 아이콘, 텍스트 및 레이아웃의 커스터마이징을 지원하여 앱 테마와 원활하게 통합됩니다. 모든 주요 플랫폼에서 사용 가능하며 전략적인 순간에 평가를 유도함으로써 사용자 참여도를 높입니다. 사용자에게 방해가 되지 않는 방식으로 피드백을 수집하는 데 이상적입니다.

사용 사례

  • 앱 사용 후 사용자 피드백 수집
  • 작업 완료 후 프롬프트 평가
  • 상호작용 대화를 통해 사용자 참여도 향상
  • 모바일 및 웹 앱에 피드백 수집 통합
  • 앱 브랜딩과 일치하도록 평가 UI 맞춤 설정

주요 기능

  • 사용자 정의 가능한 별 모양 및 색상
  • 사용자 지정 가능한 대화 상자 제목 및 설명
  • 다중 플랫폼 지원
  • pub.dev를 통한 간편한 통합
  • 기기 간 반응형 디자인
  • 사용자 평가 제출 옵션

적합한 대상

  • 모바일 및 웹 앱 개발자
  • 사용자 피드백을 요청하는 앱
  • 정교한 UI 컴포넌트가 필요한 프로젝트
  • 최소 설정을 원하는 개발자
  • 사용자 경험에 중점을 둔 팀

고려 사항

  • 평가 지속성을 위해 추가 로직이 필요할 수 있습니다
  • 사용자 정의 스타일은 플랫폼별 조정이 필요할 수 있습니다
  • 별점 평가만 가능
  • 내장 분석 또는 데이터 추적 없음
  • 업데이트를 위해 외부 저장소에 의존합니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

rating_dialog

A beautiful and customizable Rating Dialog package for Flutter! Supports all platforms that flutter supports!

Import the rating_dialog package

To use the rating_dialog plugin, follow the plugin installation instructions.

Use the package

Add the following import to your Dart code:

import 'package:rating_dialog/rating_dialog.dart';

We use the flutter's showDialog function to show our Rating Dialog

    final _dialog = RatingDialog(
      initialRating: 1.0,
      // your app's name?
      title: Text(
        'Rating Dialog',
        textAlign: TextAlign.center,
        style: const TextStyle(
          fontSize: 25,
          fontWeight: FontWeight.bold,
        ),
      ),
      // encourage your user to leave a high rating?
      message: Text(
        'Tap a star to set your rating. Add more description here if you want.',
        textAlign: TextAlign.center,
        style: const TextStyle(fontSize: 15),
      ),
      // your app's logo?
      image: const FlutterLogo(size: 100),
      submitButtonText: 'Submit',
      commentHint: 'Set your custom comment hint',
      onCancelled: () => print('cancelled'),
      onSubmitted: (response) {
        print('rating: ${response.rating}, comment: ${response.comment}');

        // TODO: add your own logic
        if (response.rating < 3.0) {
          // send their comments to your email or anywhere you wish
          // ask the user to contact you instead of leaving a bad review
        } else {
          _rateAndReviewApp();
        }
      },
    );

    // show the dialog
    showDialog(
      context: context,
      barrierDismissible: true, // set to false if you want to force a rating
      builder: (context) => _dialog,
    );

Example

See the example application source for a complete sample app using the rating_dialog package.

Issues and feedback

Please file issues to send feedback or report a bug. Thank you!

카테고리

의존성

의존성 목록 1 개

소스 저장소

이 패키지를 사용하는 프로젝트