ButtonWidget.filled constructor

ButtonWidget.filled({
  1. required String titulo,
  2. required dynamic onChanged(),
  3. double? maxWidth,
  4. TipoBoton? tipoBoton,
})

Por default este boton ocupa el menor ancho posible acomodando su contenido, al pasarle un maxWidth será para hacerlo más ancho botones

Implementation

factory ButtonWidget.filled(
    {required String titulo,
    required Function() onChanged,
    double? maxWidth,
    TipoBoton? tipoBoton}) = _ButtonFilledWidget;