magic_ui_core 1.1.5
magic_ui_core: ^1.1.5 copied to clipboard
A Universal Super-Widget architecture designed to flatten the Flutter widget tree and eliminate nesting hell.
Magic UI Core 🚀 #
Flatten your Flutter widget tree and eliminate Nesting Hell forever.
Magic UI Core is a "Universal Super-Widget" architecture designed to make UI development 10x faster, cleaner, and more readable.
Why Magic UI Core? #
- Zero-Nesting: Apply padding, decoration, and gestures as properties, not parent widgets.
- Smart Defaults: No more manual state management for simple UI tasks (like password visibility).
- Creative Mode: Powerful CSS-like gradient backgrounds and borders with one line of code.
- Performance: Flat widget tree for smoother rendering and less memory overhead.
Quick Start #
import 'package:magic_ui_core/magic_ui_core.dart';
// The "Magic" Way
MagicPage.creative(
colors: [Colors.blue, Colors.purple],
title: "Magic Login",
body: MagicColumn(
gap: 20,
children: [
MagicInput(label: "Email"),
MagicInput(label: "Password", isPassword: true),
MagicButton(text: "LOGIN", onPressed: () => print("Logged in!")),
],
),
);