creacion_pedido_screen.dart 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. import 'package:flutter/material.dart';
  2. import 'package:turquessa_mesas_hoster/utils/widgets/custom_appbar.dart';
  3. import 'package:turquessa_mesas_hoster/utils/widgets/navigation_rail.dart';
  4. class CreacionPedido extends StatefulWidget {
  5. const CreacionPedido({super.key});
  6. @override
  7. State<CreacionPedido> createState() => _CreacionPedidoState();
  8. }
  9. class _CreacionPedidoState extends State<CreacionPedido> {
  10. final _selectedIndex = 0;
  11. @override
  12. Widget build(BuildContext context) {
  13. return Container(
  14. decoration: const BoxDecoration(
  15. gradient: LinearGradient(
  16. begin: Alignment.bottomRight,
  17. end: Alignment.topLeft,
  18. colors: [
  19. Color(0xFF7FD4D4),
  20. Color(0xFFE5E5E5),
  21. Color(0xFFFFFFFF),
  22. ])),
  23. child: Scaffold(
  24. backgroundColor: Colors.transparent,
  25. appBar: AppBar(
  26. title: const CustomAppbar(),
  27. ),
  28. body: Row(
  29. children: [CustomNavigationRail(selectedIndex: _selectedIndex)],
  30. ),
  31. ),
  32. );
  33. }
  34. }