65 lines
2.0 KiB
Dart
65 lines
2.0 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:tm_app/views/shared/tender_app_bar.dart';
|
|
|
|
import '../../../core/constants/strings.dart';
|
|
import '../../../core/theme/colors.dart';
|
|
import '../../../core/utils/size_config.dart';
|
|
import '../widgets/theme_toggle.dart';
|
|
import '../widgets/title_description.dart';
|
|
|
|
class MobileProfilePage extends StatelessWidget {
|
|
const MobileProfilePage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return SafeArea(
|
|
child: Scaffold(
|
|
backgroundColor: AppColors.backgroundColor,
|
|
appBar: tenderMobileAppBar(title: AppStrings.profile),
|
|
body: Padding(
|
|
padding: EdgeInsets.symmetric(
|
|
horizontal: 24.0.w(),
|
|
vertical: 16.0.h(),
|
|
),
|
|
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(),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|