First commit

This commit is contained in:
2025-03-17 13:58:47 +01:00
commit fff5617757
159 changed files with 6972 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
import 'package:flutter/material.dart';
import '../../globals.dart';
class ReflexBox extends StatefulWidget {
final Widget child;
final Color? color;
const ReflexBox({Key? key, this.color, required this.child})
: super(key: key);
@override
_ReflexBoxState createState() => _ReflexBoxState();
}
class _ReflexBoxState extends State<ReflexBox> {
@override
Widget build(BuildContext context) {
return Material(
clipBehavior: Clip.antiAlias,
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(5.0))),
//backgrround
color: widget.color ?? Globals.RP_BG_DARK_COLOR,
child: widget.child);
}
}