FLUTTER ECOSYSTEM

Hardikb19/rotating-widgets

회전 위젯을 만들기 위한 Flutter 패키지

회전 위젯 프로젝트 이미지
Stars
1
Forks
2
최근 푸시(UTC)
2021. 5. 15.
프로젝트 상태
활성
Hardikb19 GitHub avatar
GITHUB User

Hardikb19 ↗

Build gold, deliver crap.

Microsoft
언어DartKotlinSwiftObjective-C

기술 주제

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 2 개
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

rotating_widgets

Platform pub

A simple widget which allows widgets to be turned into rotate-able widgets

Example App

Example gif



Screenshots

X Active Y active Z active XY Auto-Rotate

Custom Usage

There are several options that allow for more control:

Properties Type Description Default Value Required
child Widget This is the widget which needs to be made rotate-able null true
rotateX boolean true if widget is allowed to rotate along X-Axis true false
rotateY boolean true if widget is allowed to rotate along Y-Axis true false
rotateZ boolean true if widget is allowed to rotate along Z-Axis. Note: This allows circular rotation on 2D plane false false
angleRadianX double The angle by which widget turns across X-Axis, per unit Offset along that axis and if autoplay is false, or per unit duration is autoplay is true 0.01 false
angleRadianY double The angle by which widget turns across X-Axis, per unit Offset along that axis and if autoplay is false, or per unit duration is autoplay is true 0.01 false
angleRadianZ double The angle by which widget turns across X-Axis, per unit Offset along that axis and if autoplay is false, or per unit duration is autoplay is true 0.01 false
autoplay boolean Checks whether widget should rotate automatically or not false false
duration Duration The duration between which said child rotates around individual axis by said angle Duration(seconds: 1) false


This package can convert any widget into a rotate-able widget including scaffold