lonate 0.0.4 icon indicating copy to clipboard operation
lonate: ^0.0.4 copied to clipboard

A super effective Dart and Flutter library for delivering performant app & ensuring greater build speed.

Pub release Likes Popularity Open Source Love

UX

A super effective Dart and Flutter library for delivering performant app🌝 & ensuring greater build speed 🚀. The package has some cook utilizes which is ready to be served in your app.💙

Get to know more about the Library here

Getting started #

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  ...
  lonate: <latest_version>

In your library add the following import:

import 'package:lonate/lonate.dart';

How to use Lonate #

void main() {
  // Function to memorize state
  var clumsysquare = memoize((int x) {
    var result = 0;
    for (var i = 1; i <= x; i++) {
      for (var j = 1; j <= x; j++) {
        result++;
      }
    }
    return result;
  }, [20]);

  debugPrint(clumsysquare());

  int doubled(n) {
    return n * 2;
  }

  int square(n) {
    return n * n;
  }

/// Function to do multipleComputation
  var mic = multipleComputation((x, y, a) {
    return [x, y, a];
  }, [square, doubled, square], [9]);

  debugPrint(mic);
}

Check the api documentation for more information

Contributing #

  • Fix a bug
  • Write and improve some documentation. Documentation is very critical to us. We would appreciate help in adding multiple languages to our docs.
  • If you are a developer, feel free to check out the source and submit pull requests.
  • Dig into CONTRIBUTING.MD, which covers submitting bugs, requesting new features, preparing your code for a pull request, etc.
  • Please don't forget to like, follow, and star our repo!

Show some ❤️ and star the repo #

10
likes
130
pub points
0%
popularity

Publisher

unverified uploader

A super effective Dart and Flutter library for delivering performant app & ensuring greater build speed.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on lonate