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

This package return hello with your name.

SayHello #

SayHello is a simple Flutter package that provides a method to return a greeting message.

Installation #

Add the following dependency to your pubspec.yaml file:

dependencies:
  say_hello:
    git:
      url: https://github.com/dilrabo-vic24/my_packages.git

Then run:

flutter pub get

Usage #

Import the package:

import 'package:my_first_package.dart';

Create an instance of SayHello and use the sayHello method:

void main() {
  SayHello greeting = SayHello();
  print(greeting.sayHello(name: "John")); // Output: Hello John
}

Features #

  • Simple and lightweight
  • Requires only a name parameter

Contributions #

Contributions are welcome! Feel free to submit issues and pull requests.

License #

This project is licensed under the MIT License - see the LICENSE file for details.

1
likes
130
points
8
downloads

Publisher

unverified uploader

Weekly Downloads

This package return hello with your name.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on my_first_package_day_hello