greeting 0.0.1

Flutter Android iOS web

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
1
likes
90
pub points
27%
popularity

A Dart and Flutter package for simple greetings.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

fa.dealmeda@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on greeting