Search packages, repositories and app categories

GitHub repositoryarnemolland/snack

snack

🍫 A SnackBar extension library

snack project cover
Stars
4
Forks
0
Last push (UTC)
May 27, 2021
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

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),
      ),
    );
  }
}
Arne Molland GitHub avatar
GitHub author

Arne Molland ↗

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

@friforBergen, NorwayOfficial website ↗
LanguagesDart

Packages published by this repository

Dependencies used

Dependency list 3 items

  • flutter{"sdk":"flutter"}
  • pedanticDevelopment^1.11.0
  • flutter_testDevelopment{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗