62 lines
1.9 KiB
Dart
62 lines
1.9 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
import '../../../core/theme/colors.dart';
|
|
import '../../../core/utils/size_config.dart';
|
|
import '../widgets/theme_toggle.dart';
|
|
import '../widgets/title_description.dart';
|
|
|
|
class DesktopProfilePage extends StatelessWidget {
|
|
const DesktopProfilePage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return SafeArea(
|
|
child: Scaffold(
|
|
backgroundColor: AppColors.backgroundColor,
|
|
body: Center(
|
|
child: SizedBox(
|
|
width: 740,
|
|
height: 507,
|
|
child: Column(
|
|
children: [
|
|
SizedBox(height: 36.0.h()),
|
|
TitleDescription(
|
|
title: 'Company Name',
|
|
description: 'Telecom Solutions GmbH',
|
|
),
|
|
TitleDescription(
|
|
title: 'National ID',
|
|
description: '12345678901',
|
|
),
|
|
TitleDescription(
|
|
title: 'Registration No.',
|
|
description: 'DE-55667788',
|
|
),
|
|
TitleDescription(
|
|
title: 'Business Type',
|
|
description: 'Telecommunications',
|
|
),
|
|
TitleDescription(title: 'Founded', description: '2010'),
|
|
SizedBox(height: 24.0.h()),
|
|
// Theme Toggle
|
|
Container(
|
|
padding: EdgeInsets.symmetric(
|
|
horizontal: 16.0.w(),
|
|
vertical: 12.0.h(),
|
|
),
|
|
decoration: BoxDecoration(
|
|
color: AppColors.surfaceColor,
|
|
borderRadius: BorderRadius.circular(8),
|
|
border: Border.all(color: AppColors.borderColor),
|
|
),
|
|
child: const ThemeToggle(),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|