new: icloud manual

This commit is contained in:
lollipopkit
2023-10-17 20:03:55 +08:00
parent 439aa913b6
commit 8ce2cc579c
36 changed files with 260 additions and 172 deletions

View File

@@ -0,0 +1,21 @@
import 'package:flutter/material.dart';
class CardX extends StatelessWidget {
const CardX(this.child, {Key? key, this.color}) : super(key: key);
final Widget child;
final Color? color;
@override
Widget build(BuildContext context) {
return Card(
key: key,
clipBehavior: Clip.antiAlias,
color: color,
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(17)),
),
child: child,
);
}
}