occult 1.0.0
occult: ^1.0.0 copied to clipboard
Rapid prototyping without limits
Occult lets you use arcane_fluf, arcane_fire and arcane_auth to rapidly prototype apps that share the same firebase project.
void main() => runApp( // This is the arcane runApp method
"my_app",
Occult( // Use occult here instead of ArcaneFluf
"my_app" // Specify your unique identifier
// Define firebase options as normal to the shared proj
options: DefaultFirebaseOptions.currentPlatform,
onRegisterCrud: registerCrud,
onRegisterServices: registerServices,
child: MyApplication(),
),
);
Learn how to use arcane_fluf at https://pub.flutter-io.cn/packages/arcane_fluf Learn how to setup arcane_auth at https://pub.flutter-io.cn/packages/arcane_auth Learn how to use opinionated user models at https://pub.flutter-io.cn/packages/arcane_user Learn how to use services at https://pub.flutter-io.cn/packages/serviced
When it's time to actually switch to prod off the prototype, just change Occult to ArcaneFluf and remove the identifier tag, and obviously swap your firebase options. Thats it!