Site icon Flutter Packages | Pub dev Packages ā€“ Flutter Mobile App World

Goated dart lang

šŸŒŸ 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

Ā 

Exit mobile version
Skip to toolbar