refactor(app): Dart fix applied

This commit is contained in:
2024-04-22 14:48:22 +03:00
parent d1fca66b4b
commit c486ee6b98
4 changed files with 5 additions and 10 deletions

View File

@@ -2,7 +2,6 @@ import 'ru/ru_translations.dart';
//import 'en_us/en_us_translations.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/cupertino.dart';
import '../core/app_export.dart';
class AppLocalization {
AppLocalization(this.locale);

View File

@@ -160,12 +160,10 @@ class _DateOfBirthScreenState extends State<DateOfBirthScreen> {
DateTime.now().day,
),
);
if (dateTime != null) {
if (mounted) {
setState(() {
selectedDate = dateTime;
});
}
if (mounted) {
setState(() {
selectedDate = dateTime;
});
}
}
}
}

View File

@@ -1,6 +1,5 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '../../core/app_export.dart';
part 'theme_event.dart';
part 'theme_state.dart';

View File

@@ -1,5 +1,4 @@
import 'package:flutter/material.dart';
import '../core/app_export.dart';
/// A collection of pre-defined text styles for customizing text appearance,
/// categorized by different font families and weights.