Files
CheckTheethKids/lib/screens/terms_screen.dart

47 lines
1.3 KiB
Dart

import 'package:flutter/material.dart';
import '../widgets/app_gradients.dart';
import '../widgets/terms_content.dart';
class TermsScreen extends StatelessWidget {
const TermsScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: PreferredSize(
preferredSize: const Size.fromHeight(kToolbarHeight),
child: Container(
decoration: const BoxDecoration(gradient: kAppBarGradient),
child: AppBar(
backgroundColor: Colors.transparent,
foregroundColor: Colors.white,
surfaceTintColor: Colors.transparent,
elevation: 0,
scrolledUnderElevation: 0,
title: const Text(
'Termos de Serviço',
style: TextStyle(fontWeight: FontWeight.w900),
),
),
),
),
body: Container(
color: const Color(0xFFFAFAF7),
child: SafeArea(
child: SingleChildScrollView(
padding: const EdgeInsets.fromLTRB(20, 24, 20, 24),
child: Column(
children: [
const TermsHeader(),
const SizedBox(height: 22),
const TermsBody(),
],
),
),
),
),
);
}
}