FLUTTER ECOSYSTEM

rijfas/flat_3d_button

클릭 애니메이션과 함께하는 간단한 3D 평면 버튼!

플랫_3d버튼 프로젝트 이미지
Stars
11
Forks
2
최근 푸시(UTC)
2022. 7. 11.
프로젝트 상태
활성
rijfas GitHub avatar
GITHUB User

rijfas ↗

undefined

Williams LeaKerala, India
언어C++CMakeDartHTMLCSwiftKotlinObjective-C

기술 주제

이 저장소가 배포한 패키지

사용 중인 의존성

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

원본 README

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

README 펼치기 / 접기

🔮 Flat 3d Button

pub package

https://github.com/rijfas/flat_3d_button/raw/main/images/banner.png

A simple 3D flat button with click animation!

🔩 Installation

dependencies:
  flat_3d_button: ^1.0.3

🚚 Import

import 'package:flat_3d_button/flat_3d_button.dart';

🚀 Usage Examples

1. Counter app using flat 3D buttons:

https://github.com/rijfas/flat_3d_button/raw/main/images/flat_3d_button_counter.GIF


  Flat3dButton.icon(
    color: Colors.red,
    onPressed: _decrementCounter,
    icon: Icons.remove,
  ),
  const SizedBox(width: 10),
  Flat3dButton.text(
    onPressed: _resetCounter,
    text: 'reset',
  ),
  const SizedBox(width: 10),
  Flat3dButton.icon(
    color: Colors.green,
    onPressed: _incrementCounter,
    icon: Icons.add,
  ),

refer to the main.dart in the example for complete source code.

2. Flat 3D button with text:

https://github.com/rijfas/flat_3d_button/raw/main/images/flat_3d_button_text.GIF


Flat3dButton.text(
  onPressed: () => print('clicked'),
  text: 'Flat',
);
3. Flat 3D button with icon:

https://github.com/rijfas/flat_3d_button/raw/main/images/flat_3d_button_icon.GIF


Flat3dButton.icon(
  onPressed: () => print('clicked'),
  icon: Icons.rocket,
);

🔧 Author

https://avatars.githubusercontent.com/u/67458012?s=40&v=4

📃 License

MIT License