- auth_layout: gradient header (mobile) / split panel (desktop) - background_auth: gradient blue with network logo, tagline and feature list - custom_title: network logo replacing local asset - login_view: consistent UI matching phone_login_view (inputs, buttons, links to register/phone login, brand colors) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
30 lines
808 B
Dart
30 lines
808 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class CustomTitle extends StatelessWidget {
|
|
const CustomTitle({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Column(
|
|
children: [
|
|
const SizedBox(height: 40),
|
|
Image.network(
|
|
'https://prosapp.co/img/logo_prosapp.png',
|
|
height: 52,
|
|
fit: BoxFit.contain,
|
|
errorBuilder: (_, __, ___) => const Text(
|
|
'ProsApp',
|
|
style: TextStyle(fontSize: 28, fontWeight: FontWeight.bold, color: Color(0xFF42A4EF)),
|
|
),
|
|
),
|
|
const SizedBox(height: 8),
|
|
const Text(
|
|
'Conecta con los mejores profesionales',
|
|
style: TextStyle(color: Colors.grey, fontSize: 13),
|
|
),
|
|
const SizedBox(height: 32),
|
|
],
|
|
);
|
|
}
|
|
}
|