š Glowup Vibes š
Goated š Dart language.
This package is highly inspired by this Babel plugin
See the OG yt short:Ā https://www.youtube.com/watch?v=vgcbwv_3WDU
Installation š»
āTo get your Glowup Vibes on, make sure youāve got theĀ Dart SDKĀ installed on your machine.
Install viaĀ dart pub add
:
dart pub add glowup_vibes
What? š¤
Glowup Vibes is a Dart package that spices up Dartās lingo with some āinternet slangā flavor. ššš¬
Why?
ācause.
API š
Top-level getters:
With rizz | No Rizz (original) |
---|---|
onGod |
true |
cap |
false |
noCap |
true |
yesnt |
false |
nice |
69 |
outOfPocket |
double.infinity |
F |
Returns aĀ Never . Throws a respectful error. |
imded |
CallsĀ exitĀ withĀ code Ā 1 . |
ragequit |
CallsĀ exitĀ withĀ code Ā nice . |
cya |
CallsĀ exitĀ withĀ code Ā 0 . |
Log APIs:
BasedĀ Mason Logger
With rizz | No Rizz (original) |
---|---|
lowkey.stan(message) |
logger.info(message) |
lowkey.sus(message) |
logger.warn(message) |
lowkey.cringe(message) |
logger.err(message) |
lowkey.drip(message) |
logger.detail(message) |
lowkey.tea(message) |
logger.success(message) |
lowkey.flex(message) |
logger.success(message) |
Future APIs:
With rizz | No Rizz (original) |
---|---|
future.letItCook((value) { ... }, ohnoes: () { ... }) |
future.then((value) { ... }, onError: () { ... }) |
future.busted((error) { ... }) |
future.catchError((error) { ... }) |
String APIs:
With rizz | No Rizz (original) |
---|---|
'lets go FAM'.lowkey |
lets go fam.toLowerCase() |
'lets go FAM'.highkey |
LETS GO FAM.toUpperCase() |
'lets go FAM'.mock |
lEts gO Fam Ā (spOngE bOB case) |
Other APIs:
With rizz | No Rizz (original) |
---|---|
fr(assertion) |
assert(assertion); |
cook(value) |
Future.value(value) |
derp(error) |
Future.error(error) |
holdup([future1, future2]) |
Future.wait([future1, future2]) |
yeet(exception) |
throw exception |
brb(Duration(seconds: 1)) |
Future.delayed(Duration(seconds: 1)) |
typah(something) |
Type typah<T>(T wat) => T |
Ā
Download and/or contribute to this package source code at
https://github.com/renancaraujo/glowup_vibes
Ā
Provides the list of the opensource Flutter apps collection with GitHub repository.