revert
This commit is contained in:
2024-04-23 08:48:19 +00:00
parent 514d4ed945
commit 8392135698
4 changed files with 10 additions and 5 deletions

View File

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

View File

@@ -1,5 +1,6 @@
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,4 +1,5 @@
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.