first_use 0.0.3 copy "first_use: ^0.0.3" to clipboard
first_use: ^0.0.3 copied to clipboard

A simple flutter package to get whether this is the first time an app is launched

first_use #

A simple flutter package to detect if this is the first time a package has been used.

Getting Started #

The first use package is simple and has only three functions.


  var firstUse = FirstUse();
  firstUse.isFirstUse().then((isFirst) => print(isFirst));
  firstUse.firstUseDate().then((date) => print(date));
  
   firstUse.logNewFirstUse();

Notes #

  • isFirst use will always return false unless you call logNewFirstUse
  • logNewFirstUse will update the date to 'date.now'
0
likes
10
pub points
0%
popularity

Publisher

unverified uploader

A simple flutter package to get whether this is the first time an app is launched

Homepage

License

unknown (LICENSE)

Dependencies

flutter, shared_preferences

More

Packages that depend on first_use