Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Features

TODO: Simply to hello from time by call function Whatsup.now()

Usage

TODO: Import package to dart file 'package:whatsup/whatsup.dart';

import 'package:whatsup/whatsup.dart'; // <--- import package
import 'package:flutter/material.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: Center(
          child: Text(Whatsup.now()),// <--- Call now function then return good time text like moning, afternoom
        ),
      ),
    );
  }
}

About

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

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages