FLUTTER ECOSYSTEM

sameersingh2704/glitcheffect

자식 위젯에 글리치 애니메이션 효과를 주는 Flutter 위젯입니다.

glitcheffect 프로젝트 이미지
Stars
7
Forks
3
최근 푸시(UTC)
2023. 2. 22.
프로젝트 상태
활성
Sameer Singh GitHub avatar
GITHUB User

Sameer Singh ↗

A quick learner with experience in multiple technologies.

Unthinkable Solutions LLPGurgaon, HR, IN공식 웹사이트 ↗
언어Dart

기술 주제

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 3 개
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}
  • flutter_lints개발 의존성^1.0.0

원본 README

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

README 펼치기 / 접기

GlitchEffect

A Flutter widget that will give a Glitch Animation Effect to it's child widget.

Installation

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  glitcheffect: ^1.1.1
  1. Import the package and use it in your Flutter App.
import 'package:glitcheffect/glitcheffect.dart';
  1. There are a number of properties that you can modify:
  • child : Widget on which you want a glitch effect.
  • repeat : Whether the glitch effect should play once or play over and over. [default value is true].
  • duration : How long it should take until the glitch effect repeats itself [default value is 3 seconds].
  • colors : List of colors that you want to use for glitch effect. [default colors are Black, Grey and White].
Preview

alt-text


Example

class GlitchEffectExample extends StatelessWidget {
  const GlitchEffectExample({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return GlitchEffect(
      child: Text(
        'Flutter',
        style: TextStyle(fontSize: 30, color: Colors.red),
      ),
    );
  }
}

Contributors