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

card_animation_hover 표지
패키지 상세v0.0.2

card_animation_hover

이 클래스는 호버 애니메이션 효과를 가진 카드를 표시하는 StatefulWidget입니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
116
좋아요
14
Pub 점수
150

패키지 설치

flutter pub add card_animation_hover

패키지 개요

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

지원되는 플랫폼에서 사용자 상호작용을 향상시키기 위해 부드러운 호버 애니메이션 효과를 제공하는 Flutter StatefulWidget입니다. 현대적인 UI를 위한 설계로 마우스 또는 터치 입력에 반응하여 카드의 높이, 스케일 및 그림자를 애니메이션 처리합니다. 대시보드, 포트폴리오 및 시각적 피드백이 사용성에 기여하는 인터랙티브 레이아웃에 이상적입니다. 패키지는 가볍고 기존 프로젝트에 쉽게 통합할 수 있습니다.

사용 사례

  • 인터랙티브 대시보드
  • 포트폴리오 쇼케이스
  • 웹 앱에서의 제품 카드
  • 사용자 프로필 미리보기
  • 동적 목록 항목

주요 기능

  • 부드러운 호버 기반 애니메이션
  • 크로스플랫폼 지원 (웹, 모바일, 데스크톱)
  • 사용자 정의 가능한 애니메이션 곡선
  • 고도 및 스케일 전환
  • 기존 위젯과의 간단한 통합

적합한 대상

  • 인터랙티브 요소를 찾는 UI 디자이너
  • 반응형 웹 인터페이스를 개발하는 개발자
  • 미세한 호버 피드백이 필요한 프로젝트
  • Flutter 초보자가 상태 위젯 탐색 중
  • 다중 플랫폼을 대상으로 하는 앱

고려 사항

  • 추가 로직 없이 터치 전용 장치에서는 예상대로 작동하지 않을 수 있습니다
  • 많은 애니메이션 카드를 가진 저사양 기기에서의 성능 영향
  • 기본 애니메이션 속성 외의 맞춤 설정이 제한되어 있음
  • 완전한 기능을 위해 포인터 이벤트 처리가 필요합니다
  • 고빈도 호버 상호작용에 최적화되지 않음

원본 README

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

This class is a StatefulWidget that displays a card with a hover animation effect.

Features

card_animation

 body: SingleChildScrollView(
          child: Center(
            child: Padding(
              padding: const EdgeInsets.all(40.0),
              child: Wrap(
                spacing: 20.0,
                runSpacing: 22.0,
                children: cards
                    .map((card) => CardAnimationHover(
                          card: card,
                          showAnimation: false,
                          onTap: () {
                            Navigator.push(
                              context,
                              MaterialPageRoute(
                                  builder: (context) => const Screen()),
                            );
                          },
                        ))
                    .toList(),
              ),
            ),
          ),
        ),

  final List<Map<String, String>> cards = [
  for (int index = 0; index < imageUrls.length; index++) ...[
    {
      'image': imageUrls[index], /// required image
      'header': 'Canyons', /// required header
      'content': 'Lorem ipsum dolor sit amet, consectetur adipisicing elit.', /// required content
    },
    {
      'image': imageUrls[index],
      'header': 'Beaches',
      'content': 'Lorem ipsum dolor sit amet, consectetur adipisicing elit.',
    },
    {
      'image': imageUrls[index],
      'header': 'Trees',
      'content': 'Lorem ipsum dolor sit amet, consectetur adipisicing elit.',
    },
  ]
];

Getting started

dependencies:
  card_animation_hover: ^0.0.2

Usage

import 'package:card_animation_hover/card_animation_hover.dart';

Additional information

If you have any issues, questions, or suggestions related to this package, please feel free to contact us at [swan.dev1993@gmail.com](mailto:swan.dev1993@gmail.com). We welcome your feedback and will do our best to address any problems or provide assistance. For more information about this package, you can also visit our GitHub repository where you can find additional resources, contribute to the package's development, and file issues or bug reports. We appreciate your contributions and feedback, and we aim to make this package as useful as possible for our users. Thank you for using our package, and we look forward to hearing from you!

카테고리

소스 저장소

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

아직 데이터가 없습니다.