ButtonWidget class
Constructors
-
ButtonWidget({Key? key, required Widget child})
-
const
-
ButtonWidget.filled({required String titulo, required dynamic onChanged(), double? maxWidth, TipoBoton? tipoBoton})
-
Por default este boton ocupa el menor ancho posible acomodando su contenido, al pasarle un maxWidth será para hacerlo más ancho
factory
-
ButtonWidget.fromValue({required String titulo, required ButomType tipo, required dynamic onChanged(), double? maxWidth, Color? colorTexto, Color? borderColor})
-
factory
-
ButtonWidget.iconFilled({required String titulo, required IconData icono, required dynamic onChanged(), double? maxWidth, Color? colorTexto, Color? colorIcono})
-
Por default este boton ocupa el menor ancho posible acomodando su contenido, al pasarle un maxWidth será para hacerlo más ancho
factory
-
ButtonWidget.iconOutlined({required String titulo, required IconData icono, required dynamic onChanged(), double? maxWidth, Color? borderColor})
-
Por default este boton ocupa el menor ancho posible acomodando su contenido, al pasarle un maxWidth será para hacerlo más ancho
factory
-
ButtonWidget.iconText({required String titulo, required IconData icono, required dynamic onChanged(), double? maxWidth, Color? colorTexto, Color? colorIcono})
-
Por default este boton ocupa todo el ancho, al pasarle un maxWidth será para hacerlo más angosto
factory
-
ButtonWidget.outlined({required String titulo, required dynamic onChanged(), double? maxWidth, Color? borderColor})
-
Por default este boton ocupa el menor ancho posible acomodando su contenido, al pasarle un maxWidth será para hacerlo más ancho
factory
-
ButtonWidget.text({required String titulo, required dynamic onChanged(), double? maxWidth, Color? colorTexto})
-
Por default este boton ocupa el menor ancho posible acomodando su contenido, al pasarle un maxWidth será para hacerlo más ancho
factory
-
ButtonWidget.widgetOutlined({required String titulo, required Widget widget, required dynamic onChanged(), Color? colorTexto, double? maxWidth, double? maxheight, Color? borderColor})
-
Por default este botonpuede usarse para poner una imagen widget alado del texto, al pasarle un maxWidth será para hacerlo más ancho
factory
Properties
-
child
→ Widget
-
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
key
→ Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited