shadow_widget 0.1.0 shadow_widget: ^0.1.0 copied to clipboard
A widget that adds a shadow effect to any Flutter widget.
import 'package:flutter/material.dart';
import 'package:shadow_widget_example/shadow_demo.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
),
home: const ShadowDemo(),
);
}
}