This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ButtonAdd extends StatelessWidget { | |
const ButtonAdd({Key? key, required this.navigator, required this.text}) | |
: super(key: key); | |
final Widget navigator; | |
final String text; | |
@override | |
Widget build(BuildContext context) { | |
Size size = MediaQuery.of(context).size; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CustomerButton extends StatelessWidget { | |
const CustomerButton({Key? key}) : super(key: key); | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
body: Center( | |
child: Column( | |
children: const [ | |
SizedBox( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class GenericButton extends StatelessWidget { | |
const GenericButton({ | |
Key? key, | |
required this.navigator, | |
required this.text, | |
required this.sizeButton, | |
required this.hasIcon, | |
required this.ulrImage, | |
}) : super(key: key); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BorderButton extends StatelessWidget { | |
const BorderButton({Key? key, required this.navigator, required this.text}) | |
: super(key: key); | |
final Widget navigator; | |
final String text; | |
@override | |
Widget build(BuildContext context) { | |
Size size = MediaQuery.of(context).size; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CustomerButton extends StatelessWidget { | |
const CustomerButton({Key? key}) : super(key: key); | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
body: Center( | |
child: Column( | |
children: const [ | |
SizedBox( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class LogoButton extends StatelessWidget { | |
const LogoButton({super.key, required this.navigator}); | |
final Widget navigator; | |
@override | |
Widget build(BuildContext context) { | |
Size size = MediaQuery.of(context).size; | |
return MaterialButton( | |
onPressed: () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Screen3_1_dropdown extends StatelessWidget { | |
const Screen3_1_dropdown({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return SafeArea( | |
child: Scaffold( | |
appBar: const MyAppBar( | |
title: 'Nueva obra', icon: Icon(Icons.close), isIcon: true), | |
body: Column( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Screen3_1 extends StatelessWidget { | |
const Screen3_1({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return SafeArea( | |
child: Scaffold( | |
appBar: const MyAppBar( | |
title: 'Nueva obra', icon: Icon(Icons.close), isIcon: true), | |
body: Column( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AlertScreen extends StatelessWidget { | |
const AlertScreen({super.key}); | |
void displayDialog(BuildContext context) { | |
showDialog( | |
barrierDismissible: false, | |
context: context, | |
builder: ((context) { | |
return AlertDialog( | |
elevation: 5, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class DropDownScreen extends StatelessWidget { | |
const DropDownScreen({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
body: Center( | |
child: Container( | |
//color: Colors.amber, | |
height: 250, |