reflection_effect 1.0.0
reflection_effect: ^1.0.0 copied to clipboard
A Flutter widget that reflects the content of a widget.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:reflection/reflection.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return const MaterialApp(
title: 'Example Reflection Widget',
home: Scaffold(
body: Center(
child: Reflection(
negativeSpace: 20,
child: Text('Hello World',
style: TextStyle(fontSize: 30, color: Colors.blue)),
),
),
),
);
}
}