FLUTTER ECOSYSTEM

akshayambaliya/flutter_status_view

WhatsApp 및 Instagram과 같이 상태를 표시합니다.

flutter_status_view 프로젝트 이미지
Stars
4
Forks
8
최근 푸시(UTC)
2021. 5. 29.
프로젝트 상태
활성
akshay ambaliya GitHub avatar
GITHUB User

akshay ambaliya ↗

언어DartHTMLSwiftKotlinObjective-C

이 저장소가 배포한 패키지

사용 중인 의존성

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

원본 README

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

README 펼치기 / 접기

status_view

Display status just like WhatsApp & Instagram. This package help to display users status like WhatsApp status. in this we can specify the number of status ,seen and unseen status as well, apart from that same package use to display status like Instagram.

https://raw.githubusercontent.com/akshayambaliya/flutter_status_view/main/assets/status.png

Installation

You just need to add status_view as a dependency in your pubspec.yaml file.

dependencies:
  status_view: ^0.0.1

Usage

StatusView(
            radius: 40,
            spacing: 15,
            strokeWidth: 2,
            indexOfSeenStatus: 2,
            numberOfStatus: 5,
            padding: 4,
            centerImageUrl: "https://picsum.photos/200/300",
            seenColor: Colors.grey,
            unSeenColor: Colors.red,
          ),
Attributes Description
radius radius of status view circul
spacing spacing between two status indicator
strokeWidth strokeWidth of status indicator
indexOfSeenStatus index of which status is already seen
numberOfStatus total number of status
padding padding between status indicator and center image
centerImageUrl center image required
seenColor color of already seen status
unSeenColor color of unSeen status

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.