getxify 5.0.2 copy "getxify: ^5.0.2" to clipboard
getxify: ^5.0.2 copied to clipboard

GetXify: The modern evolution of GetX. Navigate screens, manage state, and inject dependencies without BuildContext. Enhanced performance, cleaner API, and full Flutter compatibility.

example/lib/main.dart

import 'package:material_ui/material_ui.dart';
import 'package:getxify/getxify.dart';

import 'app/routes/app_pages.dart';
import 'services/auth_service.dart';
import 'services/cart_service.dart';

void main() {
  runApp(
    GetMaterialApp(
      title: "GetXify Mart",
      debugShowCheckedModeBanner: false,
      binds: [Bind.put(AuthService()), Bind.put(CartService())],
      theme: ThemeData(
        useMaterial3: true,
        colorScheme: ColorScheme.fromSeed(
          seedColor: Colors.indigo,
          brightness: Brightness.light,
        ),
        scaffoldBackgroundColor: const Color(0xFFF8F9FA),
        appBarTheme: const AppBarTheme(centerTitle: true, elevation: 0),
        cardTheme: CardThemeData(
          elevation: 2,
          shape: RoundedRectangleBorder(
            borderRadius: BorderRadius.circular(16),
          ),
        ),
      ),
      darkTheme: ThemeData(
        useMaterial3: true,
        colorScheme: ColorScheme.fromSeed(
          seedColor: Colors.indigo,
          brightness: Brightness.dark,
        ),
        scaffoldBackgroundColor: const Color(0xFF121212),
        appBarTheme: const AppBarTheme(centerTitle: true, elevation: 0),
        cardTheme: CardThemeData(
          elevation: 4,
          shape: RoundedRectangleBorder(
            borderRadius: BorderRadius.circular(16),
          ),
        ),
      ),
      themeMode: ThemeMode.system,
      getPages: AppPages.routes,
      initialRoute: AppPages.initial,
    ),
  );
}
11
likes
150
points
218
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

GetXify: The modern evolution of GetX. Navigate screens, manage state, and inject dependencies without BuildContext. Enhanced performance, cleaner API, and full Flutter compatibility.

Repository (GitHub)
View/report issues
Contributing

Topics

#state-management #dependency-injection #routing #navigation #reactive

License

MIT (license)

Dependencies

cupertino_ui, flutter, flutter_web_plugins, material_ui, web

More

Packages that depend on getxify