codifyiq_core_components 0.5.0 copy "codifyiq_core_components: ^0.5.0" to clipboard
codifyiq_core_components: ^0.5.0 copied to clipboard

Contains commonly used functional widgets. CodifyIQ is open sourcing these for easy licensing and usage via standard pub mechanisms.

example/main.dart

import 'package:adaptive_theme/adaptive_theme.dart';
import 'package:flutter/material.dart';

import 'router.dart';

// Main application entry point
void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  ThemeData get light => ThemeData(
    brightness: Brightness.light,
    useMaterial3: true,
    colorScheme: ColorScheme.fromSeed(seedColor: const Color(0xFF18D777)),
  );

  ThemeData get dark => ThemeData(
    brightness: Brightness.dark,
    useMaterial3: true,
    colorScheme: ColorScheme.fromSeed(
      seedColor: const Color(0xFF18D777),
      brightness: Brightness.dark,
    ),
  );

  @override
  Widget build(BuildContext context) {
    return AdaptiveTheme(
      light: light,
      dark: dark,
      initial: AdaptiveThemeMode.system,
      builder: (theme, darkTheme) => MaterialApp.router(
        routerConfig: router,
        title: 'CodifyIQ Core Components Catalog',
        debugShowCheckedModeBanner: false,
        theme: theme,
        darkTheme: darkTheme,
      ),
    );
  }
}
0
likes
160
points
340
downloads

Publisher

verified publishercodifyiq.com

Weekly Downloads

Contains commonly used functional widgets. CodifyIQ is open sourcing these for easy licensing and usage via standard pub mechanisms.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

adaptive_theme, flutter, go_router, gpt_markdown

More

Packages that depend on codifyiq_core_components