Nova tela de login | Adaptaçao nova da AppBar | Animções novas
This commit is contained in:
@@ -3,6 +3,9 @@ import 'dart:math' as math;
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:lottie/lottie.dart';
|
||||
|
||||
import '../widgets/entrance.dart';
|
||||
import '../widgets/tap_bounce.dart';
|
||||
|
||||
class CuriosidadeScreen extends StatelessWidget {
|
||||
const CuriosidadeScreen({super.key});
|
||||
|
||||
@@ -68,24 +71,48 @@ class CuriosidadeScreen extends StatelessWidget {
|
||||
child: ListView(
|
||||
padding: const EdgeInsets.fromLTRB(16, 16, 16, 16),
|
||||
children: [
|
||||
_CuriosityTopicTile(
|
||||
title: 'Tema X',
|
||||
description: 'Aprenda dicas rápidas e simples para cuidar dos dentes no dia a dia.',
|
||||
FadeSlideIn(
|
||||
child: TapBounce(
|
||||
scale: 0.97,
|
||||
child: _CuriosityTopicTile(
|
||||
title: 'Tema X',
|
||||
description:
|
||||
'Aprenda dicas rápidas e simples para cuidar dos dentes no dia a dia.',
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
const _CuriosityTopicTile(
|
||||
title: 'Tema Y',
|
||||
description: 'Conteúdo em breve.',
|
||||
FadeSlideIn(
|
||||
delay: const Duration(milliseconds: 60),
|
||||
child: const TapBounce(
|
||||
scale: 0.97,
|
||||
child: _CuriosityTopicTile(
|
||||
title: 'Tema Y',
|
||||
description: 'Conteúdo em breve.',
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
const _CuriosityTopicTile(
|
||||
title: 'Tema Z',
|
||||
description: 'Conteúdo em breve.',
|
||||
FadeSlideIn(
|
||||
delay: const Duration(milliseconds: 120),
|
||||
child: const TapBounce(
|
||||
scale: 0.97,
|
||||
child: _CuriosityTopicTile(
|
||||
title: 'Tema Z',
|
||||
description: 'Conteúdo em breve.',
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
const _CuriosityTopicTile(
|
||||
title: 'Tema U',
|
||||
description: 'Conteúdo em breve.',
|
||||
FadeSlideIn(
|
||||
delay: const Duration(milliseconds: 180),
|
||||
child: const TapBounce(
|
||||
scale: 0.97,
|
||||
child: _CuriosityTopicTile(
|
||||
title: 'Tema U',
|
||||
description: 'Conteúdo em breve.',
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -156,17 +183,21 @@ class _CuriosityTopicTile extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 14),
|
||||
SizedBox(
|
||||
height: 44,
|
||||
child: FilledButton(
|
||||
style: FilledButton.styleFrom(
|
||||
backgroundColor: const Color(0xFF2F9E94),
|
||||
foregroundColor: Colors.white,
|
||||
shape: const StadiumBorder(),
|
||||
textStyle: const TextStyle(fontWeight: FontWeight.w900),
|
||||
TapBounce(
|
||||
child: SizedBox(
|
||||
height: 44,
|
||||
child: FilledButton(
|
||||
style: FilledButton.styleFrom(
|
||||
backgroundColor: const Color(0xFF2F9E94),
|
||||
foregroundColor: Colors.white,
|
||||
shape: const StadiumBorder(),
|
||||
textStyle: const TextStyle(
|
||||
fontWeight: FontWeight.w900,
|
||||
),
|
||||
),
|
||||
onPressed: () => Navigator.of(ctx).pop(),
|
||||
child: const Text('Fechar'),
|
||||
),
|
||||
onPressed: () => Navigator.of(ctx).pop(),
|
||||
child: const Text('Fechar'),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user