shadow_widget 0.1.1 shadow_widget: ^0.1.1 copied to clipboard
A widget that adds a shadow effect to any Flutter widget. Supports all platforms.
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(),
);
}
}