File tree Expand file tree Collapse file tree 3 files changed +32
-0
lines changed
Expand file tree Collapse file tree 3 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -3,4 +3,5 @@ import 'package:flutter/material.dart';
33class AppColors {
44 static const ongiOrange = Color (0xFFFD6C01 );
55 static const ongiBlue = Color (0xFFBFECFF );
6+ static const ongiLigntgrey = Color (0xFFF7F7F7 );
67}
Original file line number Diff line number Diff line change 1+ import 'package:flutter/material.dart' ;
2+ import 'package:ongi/core/app_colors.dart' ;
3+
4+ class AppLightBackground extends StatelessWidget {
5+ final Widget child;
6+ const AppLightBackground ({super .key, required this .child});
7+
8+ @override
9+ Widget build (BuildContext context) {
10+ return Stack (
11+ children: [
12+ Container (
13+ color: AppColors .ongiLigntgrey,
14+ ),
15+ Positioned (
16+ right: - 140 ,
17+ top: - 160 ,
18+ child: Opacity (
19+ opacity: 0.3 ,
20+ child: Image .asset (
21+ 'assets/images/logo.png' ,
22+ width: 350 ,
23+ fit: BoxFit .contain,
24+ ),
25+ ),
26+ ),
27+ Positioned .fill (child: child),
28+ ],
29+ );
30+ }
31+ }
You can’t perform that action at this time.
0 commit comments