Skip to content
pubscout

magic

1.1.0, released 3 days ago by anilcancakir.com

Full‑stack Flutter framework offering Laravel‑style models, auth, routing, realtime and payments across all platforms.

Uses material_ui
$ flutter pub add magic
Source repository

What it does

Provides a container, facades, ORM‑like models, authentication, context‑free routing, validation, caching and localisation. Plugins extend it with realtime, payments, SQLite, notifications and more.

AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need an all‑in‑one solution that mimics Laravel for a Flutter app
  • You want context‑free routing and built‑in auth/validation
  • You target Android, iOS, web, desktop with a single codebase

Skip it when

  • You only need a lightweight UI kit or simple HTTP client
  • You prefer a minimal set of packages rather than a large framework

Strengths

  • Laravel‑like developer experience
  • Cross‑platform out of the box
  • Integrated container and facades
  • Extensible plugin family

Weaknesses

  • Heavy dependency footprint
  • Steep learning curve for Laravel concepts
  • Smaller community compared to mainstream packages

Setup

Kind
Flutter widgets
Effort
Medium
Code generation
No
Direct dependencies
20

flutter pub add magic && dart run magic:dowel magic:install; add optional plugins with flutter pub add <plugin> && dart run magic:dowel plugin:install <plugin>

class User extends Model with HasTimestamps, Authenticatable {
  @override String get table => 'users';
  @override String get resource => 'users';
  @override List<String> get fillable => ['name','email'];
  String? get name => get<String>('name');
}

void registerAppRoutes(){
  MagicRoute.page('/users', () => UserController.instance.index());
}

Alternatives

Packages that do the same job and could replace magic.

Works with

Packages commonly used together with magic: ones it builds on, ones built on it, and its own family.