carded 0.0.3+1 copy "carded: ^0.0.3+1" to clipboard
carded: ^0.0.3+1 copied to clipboard

A replacement for the default Card widget (for shadows on all edges)

example/example.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        useMaterial3: true,
      ),
      home: Scaffold(
        appBar: AppBar(),
        body: Container(
          padding: const EdgeInsets.symmetric(
            vertical: 50,
            horizontal: 10,
          ),
          child: const CardyContainer(
            blurRadius: 10,
            padding: EdgeInsets.all(10),
            child: Text(
              'This is a container with shadows on all four edges',
              style: TextStyle(
                fontSize: 18,
              ),
              overflow: TextOverflow.ellipsis,
            ),
          ),
        ),
      ),
    );
  }
}
4
likes
150
pub points
48%
popularity

Publisher

verified publishercodesadhu.com

A replacement for the default Card widget (for shadows on all edges)

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on carded