flutter_vault 1.0.0 copy "flutter_vault: ^1.0.0" to clipboard
flutter_vault: ^1.0.0 copied to clipboard

A comprehensive utility library for Flutter development, providing essential helper methods and tools in one cohesive package.

example/example.dart

import 'package:flutter_vault/flutter_vault.dart';

void main() {
  // Create an instance of FlutterUtils
  FlutterVault flutterUtils = FlutterVault();

  // Define a function to be executed after debounce
  void printHello() {
    print('Hello, world!');
  }

  // Call the debounce method with the printHello function
  flutterUtils.debounce(printHello);

  // Call the debounce method again within the debounce duration
  // This call should cancel the previous debounce timer and start a new one
  // As a result, the printHello function will only be called once after the debounce duration
  flutterUtils.debounce(printHello, 1000);
}
2
likes
155
points
17
downloads

Publisher

unverified uploader

Weekly Downloads

A comprehensive utility library for Flutter development, providing essential helper methods and tools in one cohesive package.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_vault