m3e_card_list 0.1.0 copy "m3e_card_list: ^0.1.0" to clipboard
m3e_card_list: ^0.1.0 copied to clipboard

A Flutter package providing expressive Material 3 card lists with dynamically rounded corners for ListView, SliverList and Column.

example/lib/main.dart

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

void main() {
  runApp(const MyApp());
}

final ValueNotifier<ThemeMode> themeNotifier = ValueNotifier(ThemeMode.system);

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

  @override
  Widget build(BuildContext context) {
    return ValueListenableBuilder<ThemeMode>(
      valueListenable: themeNotifier,
      builder: (context, ThemeMode currentMode, _) {
        return MaterialApp(
          debugShowCheckedModeBanner: false,
          title: 'M3E Cards Demo',
          themeMode: currentMode,
          theme: ThemeData(
            colorScheme: ColorScheme.fromSeed(
              seedColor: Colors.deepPurple,
              brightness: Brightness.light,
            ),
            useMaterial3: true,
          ),
          darkTheme: ThemeData(
            colorScheme: ColorScheme.fromSeed(
              seedColor: Colors.deepPurple,
              brightness: Brightness.dark,
            ),
            useMaterial3: true,
          ),
          home: const M3ECardScreen(),
        );
      },
    );
  }
}
9
likes
160
points
134
downloads

Documentation

API reference

Publisher

verified publishermuditpurohit.tech

Weekly Downloads

A Flutter package providing expressive Material 3 card lists with dynamically rounded corners for ListView, SliverList and Column.

Repository (GitHub)
View/report issues

Topics

#ui #material-3-expressive #m3e #listview #sliver

License

MIT (license)

Dependencies

flutter

More

Packages that depend on m3e_card_list