Skip to content

Instantly share code, notes, and snippets.

@josue1dario2
Created January 11, 2023 01:04
Show Gist options
  • Save josue1dario2/6e42c5049253dd3139cd115842eb1cf1 to your computer and use it in GitHub Desktop.
Save josue1dario2/6e42c5049253dd3139cd115842eb1cf1 to your computer and use it in GitHub Desktop.
Consumer Button
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(
height: 200,
),
GenericButton(
navigator: Validator(),
text: 'Crear nueva',
sizeButton: 128,
hasIcon: false,
ulrImage: '',
),
SizedBox(
height: 20,
),
GenericButton(
navigator: Validator(),
text: 'Agregar operario',
sizeButton: 156,
hasIcon: false,
ulrImage: '',
),
SizedBox(
height: 20,
),
GenericButton(
navigator: Validator(),
text: 'Registrar datos biométricos',
sizeButton: 350,
hasIcon: false,
ulrImage: '',
),
SizedBox(
height: 20,
),
GenericButton(
navigator: Validator(),
text: 'Copiar link',
sizeButton: 350,
hasIcon: true,
ulrImage: 'assets/img/link_24px.png',
),
SizedBox(
height: 20,
),
GenericButton(
navigator: Validator(),
text: 'Cargar fotos',
sizeButton: 350,
hasIcon: true,
ulrImage: 'assets/img/add_a_photo.png',
),
SizedBox(
height: 20,
),
BorderButton(
navigator: Validator(),
text: 'Volver al navegador',
)
],
),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment