feat:register page ui done
This commit is contained in:
35
lib/feature/auth/presentation/widgets/w_auth_background.dart
Normal file
35
lib/feature/auth/presentation/widgets/w_auth_background.dart
Normal file
@@ -0,0 +1,35 @@
|
||||
import '../../../../food_delivery_client.dart';
|
||||
|
||||
class WAuthBackground extends StatelessWidget {
|
||||
const WAuthBackground({super.key, required this.child});
|
||||
|
||||
final Widget child;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Stack(
|
||||
children: [
|
||||
SizedBox(
|
||||
height: context.h * .3,
|
||||
child: Image.asset(AppImages.imgBurger2, fit: BoxFit.cover),
|
||||
),
|
||||
SingleChildScrollView(
|
||||
// keyboardDismissBehavior:
|
||||
// ScrollViewKeyboardDismissBehavior.onDrag,
|
||||
child: Column(
|
||||
children: [
|
||||
SizedBox(height: context.h * .2),
|
||||
DecoratedBox(
|
||||
decoration: BoxDecoration(
|
||||
color: AppColors.cFFFFFF,
|
||||
borderRadius: AppUtils.kBorderRadiusTop20,
|
||||
),
|
||||
child: child,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user