37 lines
1017 B
Dart
37 lines
1017 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:go_router/go_router.dart';
|
|
import 'package:lixo/components/nc_base_page.dart';
|
|
import 'package:lixo/components/nc_button.dart';
|
|
|
|
class InitialPage extends StatelessWidget {
|
|
const InitialPage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return NcBasePage(
|
|
body: Center(
|
|
child: Column(
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
children: [
|
|
NcButton(
|
|
caption: "Quero me registrar",
|
|
backgroundColor: Colors.black,
|
|
captionColor: Colors.white,
|
|
onPressed: () => context.go('/register'),
|
|
),
|
|
const SizedBox(
|
|
height: 40,
|
|
),
|
|
NcButton(
|
|
caption: "Já sou cliente",
|
|
backgroundColor: Colors.black,
|
|
captionColor: Colors.white,
|
|
onPressed: () => context.go('/login'),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|