vgkCommonApplicationPrivacyData static method
dynamic
vgkCommonApplicationPrivacyData(
- dynamic width,
- dynamic image,
- dynamic background,
- dynamic primaryColor,
Implementation
static vgkCommonApplicationPrivacyData(
width, image, background, primaryColor) {
List<Widget> listViews = <Widget>[];
listViews.add(
Stack(
children: [
ClipPath(
clipper: OvalBottomBorderClipper(),
child: Container(
margin: const EdgeInsets.only(top: 30),
height: 380,
decoration: BoxDecoration(
color: HexColor(primaryColor),
),
),
),
ClipPath(
clipper: OvalBottomBorderClipper(),
child: Container(
height: 380,
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage(background),
),
),
foregroundDecoration: BoxDecoration(
color: HexColor(primaryColor).withOpacity(0.5),
),
),
),
Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
const SizedBox(height: 90),
VgkCommonWidget.vgkBuildAvatar(
radius: width,
image: image,
),
// const SizedBox(height: 10.0),
// Column(
// crossAxisAlignment: CrossAxisAlignment.center,
// children: [
// RichText(
// text: TextSpan(
// text: 'P',
// style: VgkProGamingTheme.h3White,
// children: [
// TextSpan(
// text: 'UB',
// style: AppTheme.textStyleTripleExtraLargeBlack,
// ),
// TextSpan(
// text: 'G',
// style: AppTheme.textStyleTripleExtraLargeWhite,
// ),
// TextSpan(
// text: ' MOBILE Guidance',
// style: AppTheme.textStyleTripleExtraLargeWhite,
// ),
// ],
// ),
// ),
// Align(
// alignment: Alignment.center,
// child: Container(
// padding: new EdgeInsets.only(right: 20),
// child: RichText(
// textAlign: TextAlign.center,
// text: TextSpan(
// text: Constant.version,
// style: TextStyle(
// fontSize: 7,
// fontWeight: FontWeight.w700,
// color: AppTheme.white,
// ),
// ),
// ),
// ),
// ),
// ],
// )
],
),
),
],
),
);
listViews.add(
const SizedBox(
height: 16,
),
);
return listViews;
}