FLUTTER ECOSYSTEM

arnemolland/snack

🍫 SnackBar 확장 라이브러리

snack 프로젝트 이미지
Stars
4
Forks
0
최근 푸시(UTC)
2021. 5. 27.
프로젝트 상태
활성
Arne Molland GitHub avatar
GITHUB User

Arne Molland ↗

Nerd @frifor, building @fleetd-sh and @schmud-no when i can

@friforBergen, Norway공식 웹사이트 ↗
언어Dart

이 저장소가 배포한 패키지

사용 중인 의존성

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

원본 README

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

README 펼치기 / 접기
snack

snack pub style: pedantic license

Extensions for SnackBars and other goodies 🍭

Usage

SnackBar().show(context);

Example

class Example extends StatelessWidget {
  final bar = SnackBar(content: Text('Hello, world!'));
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: RaisedButton(
        child: Text('Show snack'),
        onPressed: () => bar.show(context),
      ),
    );
  }
}