refactor: ui/ux refinements
This commit is contained in:
23
lib/shared/widgets/sheet_handle.dart
Normal file
23
lib/shared/widgets/sheet_handle.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
import 'package:flutter/widgets.dart';
|
||||
import '../theme/theme_extensions.dart';
|
||||
|
||||
class SheetHandle extends StatelessWidget {
|
||||
final EdgeInsetsGeometry? margin;
|
||||
const SheetHandle({super.key, this.margin});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Center(
|
||||
child: Container(
|
||||
margin: margin ?? const EdgeInsets.only(top: Spacing.sm, bottom: Spacing.md),
|
||||
width: 40,
|
||||
height: 4,
|
||||
decoration: BoxDecoration(
|
||||
color: context.conduitTheme.textPrimary.withValues(alpha: Alpha.medium),
|
||||
borderRadius: BorderRadius.circular(AppBorderRadius.xs),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user