hello_world_template 1.0.3 copy "hello_world_template: ^1.0.3" to clipboard
hello_world_template: ^1.0.3 copied to clipboard

A simple command-line package that allows you to run a helloWorld function call or sayIt method

hello_world_template Package Readme #

by Bryce Tuppurainen

Initially created using:

~$ dart create -t package hello_world_template

This is a simple hello world dart package demonstrating the import of a function and class from a package

Features #

Simply allows you to create a hello world message, either by calling the function helloWorld or instantiating the class HelloWorld and then calling the method sayIt()

Usage #

import 'package:hello_world_template/hello_world_template.dart';

/// Prints 'Hello World!' to the console three times
void main() {
  String helloString;
  helloString = helloWorld(); // Hello World!
  helloString = HelloWorld().sayIt(); // Hello World!
  print(helloString); // Hello World!
}
0
likes
160
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

A simple command-line package that allows you to run a helloWorld function call or sayIt method

Repository (GitHub)

Documentation

API reference

License

MIT (license)

More

Packages that depend on hello_world_template