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 :heart: and star the repo

Libraries

lonate