Open darwin-morocho opened 3 months ago
very_good_analysis
flutter_lints
analysis_options.yaml
prefer_relative_imports
static String get route => '/login';
definir una extension para recuperar el thema de la app
extension ContextX on BuildContext{ ThemeData. get theme { ..... } }
extension NumX on num{ SizedBox get w { return SizedBox(width:this); }
SizedBox get h { return SizedBox(height:this); } }
Y usar la extension en lugar de ` const separator = SizedBox(height: 28);`
@darwin-morocho puedes volver a revisar, ya hice los cambios!
very_good_analysis
conflutter_lints
.analysis_options.yaml
agregarprefer_relative_imports
.static String get route => '/login';
por constantes estaticas.definir una extension para recuperar el thema de la app
SizedBox get h { return SizedBox(height:this); } }