Skip to main content

whatsup 1.0.6 copy "whatsup: ^1.0.6" to clipboard
whatsup: ^1.0.6 copied to clipboard

A lightweight package to return time-based greetings like "Good morning" or "Good afternoon" from a given datetime.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add whatsup

With Flutter:

 $ flutter pub add whatsup

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  whatsup: ^1.0.6

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:whatsup/whatsup.dart';
2
likes
160
points
351
downloads

Documentation

API reference

Publisher

verified publishermofunetive.site

Weekly Downloads

A lightweight package to return time-based greetings like "Good morning" or "Good afternoon" from a given datetime.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on whatsup