greeting 0.0.1 copy "greeting: ^0.0.1" to clipboard
greeting: ^0.0.1 copied to clipboard

A Dart and Flutter package for simple greetings.

Greeting #

A simple package to demonstrate the creation of a package in Dart/Flutter.

Getting Started #

Import the package:

import 'package:greeting/greeting.dart';

Receive the greeting with the desired hour or with the current hour:

final greeting = Greeting();

greeting.greet(hour: 8); // Bom dia
greeting.greet(hour: 13); // Boa tarde
greeting.greet(hour: 20); // Boa noite

greeting.greet(); // Greeting according to current hour
2
likes
20
pub points
0%
popularity

Publisher

unverified uploader

A Dart and Flutter package for simple greetings.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on greeting