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

simple_ripple_animation 표지
패키지 상세v0.1.1

simple_ripple_animation

이 패키지는 설정하고 맞춤설정하기 쉬운 리플 애니메이션 위젯을 제공하며, 선택한 색상에 관계없이 아름답게 보입니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
7.7천
좋아요
153
Pub 점수
160

패키지 설치

flutter pub add simple_ripple_animation

패키지 개요

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

간단하고 사용자 정의 가능한 리플 애니메이션 위젯을 제공하는 플러터 패키지입니다. 개발자는 버튼, 탭 또는 어떤 인터랙티브 요소에도 시각적으로 매력적인 리플 효과를 쉽게 추가할 수 있으며, 여러 플랫폼에서 작동합니다. 부드러운 애니메이션은 커스텀 색상, 크기 및 지속 시간을 지원하여 앱의 사용자 피드백을 향상시키는 데 이상적입니다. 최소한의 설정으로 기존 프로젝트에 원활하게 통합됩니다.

사용 사례

  • 버튼에 터치 피드백 추가하기
  • 시각 효과를 통한 UI 상호작용 향상
  • 애니메이션 배경 만들기
  • 모바일 앱에서 사용자 참여도 향상
  • 웹에서 상호작용 요소 설계하기
  • 브랜딩을 위한 리플의 외관 맞춤 설정

주요 기능

  • 최소 코드로 간편한 설정
  • 사용자 정의 색상 및 크기 지원
  • 부드럽고 성능이 뛰어난 애니메이션
  • 크로스 플랫폼 호환성
  • 사용자 정의 가능한 리플의 지속 시간 및 강도
  • 사용자 정의를 위한 간단한 API

적합한 대상

  • 시각적 완성도를 추구하는 UI/UX 디자이너
  • 인터랙티브 앱을 개발하는 개발자
  • 미세한 터치 피드백이 필요한 프로젝트
  • 다중 플랫폼을 대상으로 하는 앱
  • 애니메이션을 빠르게 구현하고자 하는 팀
  • 동적 피드백을 갖춘 창의적인 인터페이스

고려 사항

  • 과도하게 사용할 경우 성능에 영향을 줄 수 있습니다
  • 제한된 고급 애니메이션 컨트롤
  • 작은 규모의 리플 효과에 가장 적합
  • 복잡한 모션 디자인에는 적합하지 않음
  • 가시성을 위해 색상 선택에 신중해야 합니다
  • 플랫폼별 렌더링 동작에 의존합니다

원본 README

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

Simple Ripple Animation

style: very good analysis License: MIT

This package provide ripple animation widget that can be customised to meet your needs. It's easy to set up and customize, and it looks beautiful in any color you choose.

Features

This package support following parameter and methods.

Parameter

RippleAnimationwidget provide follwoing parameter to config your ripple animation effect.

Parameter defined for RippleAnimation widget:

Name Type Description
child Widget This child will be placed at center of the animation.
delay Duration This will be delay between two ripple wave.
minRadius double Minimum radius of the ripple wave.
maxRadius double Maximum radius of the ripple wave.
color Color Color of the animation.
ripplesCount int number of rippleCount in the wave.
duration Duration duration of the animation
repeat bool Provide true if you want to repeat animation

Getting started

Installing

  1. Add dependencies to pubspec.yaml

    Get the latest version in the 'Installing' tab on pub.dev

    dependencies:
        simple_ripple_animation: <latest-version>
    
  2. Run pub get.

    flutter pub get
    
  3. Import package.

    import 'package:simple_ripple_animation/simple_ripple_animation.dart';
    

Implementation

  1. Wrap Widget with RippleAnimation and assign needed parameter.

             RippleAnimation(
                child: CircleAvatar(
                  minRadius: 75,
                  maxRadius: 75,
                  backgroundImage: NetworkImage(Constants.avtarUrl),
                ),
                color: Colors.deepOrange,
                delay: const Duration(milliseconds: 300),
                repeat: true,
                minRadius: 75,
                maxRadius: 140,
                ripplesCount: 6,
                duration: const Duration(milliseconds: 6 * 300),
              )
    

Preview

Screenshot

TODO: Here is the few screenshot for the preview. This will be remove in new verison becuase pub.dev now support screenshot.


Mobile

Tablet

Desktop

Web

Main Contributors


Jemis Goti

Furkan Arslan

Thanks

Thank you for using this package and keep supporting opensource community.

카테고리

소스 저장소

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

아직 데이터가 없습니다.