Untitled
unknown
dart
3 years ago
2.5 kB
9
Indexable
class _PrivacyWidgetState extends State<PrivacyWidget> {
@override
Widget build(BuildContext context) => Scaffold(
backgroundColor: const Color.fromARGB(255, 219, 219, 219),
appBar: AppBar(
title: const Text('Segurança e Privacidade'),
leading: GestureDetector(
onTap: () {},
child: const Icon(
Icons.arrow_back,
),
),
),
body: Center(
child: SingleChildScrollView(
// padding: const EdgeInsets.all(16),
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Container(
width: double.infinity,
decoration:
const BoxDecoration(color: Colors.white, boxShadow: [
BoxShadow(
color: Colors.grey,
blurRadius: 4,
offset: Offset(0, 4),
)
]),
child: Column(
children: [
const Text(
style: TextStyle(fontSize: 20),
'Alteração de senha'
),
const Text(
'Escolha uma senha forte que você não esteja usando em nenhum outro lugar'),
ElevatedButton(
onPressed: () {}, child: const Text('Alterar Senha')),
],
)),
const SizedBox(
height: 20,
),
Container(
width: double.infinity,
decoration:
const BoxDecoration(color: Colors.white, boxShadow: [
BoxShadow(
color: Colors.grey,
blurRadius: 4,
offset: Offset(0, 4),
)
]),
child: Column(
children: [
const Text(
style: TextStyle(fontSize: 20),
'Excluir conta permanentemente'
),
const Text(
'Escolha uma senha forte que você não esteja usando em nenhum outro lugar'),
ElevatedButton(
onPressed: () {}, child: const Text('Excluir')),
],
))
],
),
)));
}Editor is loading...