fix: a render flex overflowed warning from dde data table.
This commit is contained in:
@@ -21,7 +21,6 @@ class LocalSchemes implements LocalSchemesInterface<LocalSchemeEntryLinux> {
|
||||
var _supportDirectory = await getApplicationSupportDirectory();
|
||||
var directory = Directory(join(_supportDirectory.path, 'schemes'));
|
||||
if (!directory.existsSync()) directory.createSync();
|
||||
directory.path.sout();
|
||||
return directory
|
||||
.list()
|
||||
.map<LocalSchemeEntryLinux?>((f) {
|
||||
|
||||
@@ -755,7 +755,7 @@ class _DDataTableState extends State<DDataTable> {
|
||||
textDirection: numeric ? TextDirection.rtl : null,
|
||||
mainAxisAlignment: center ? MainAxisAlignment.spaceAround : MainAxisAlignment.start,
|
||||
children: <Widget>[
|
||||
label,
|
||||
Flexible(child: label),
|
||||
if (onSort != null) ...<Widget>[
|
||||
_SortArrow(
|
||||
visible: sorted,
|
||||
|
||||
@@ -44,7 +44,6 @@ class LanguageSwitcher extends StatelessWidget {
|
||||
),
|
||||
onTap: () {
|
||||
EasyLocalization.of(context)?.setLocale(locale).then((_) {
|
||||
context.locale.sout();
|
||||
var localeMap = Translations(CodegenLoader.mapLocales[context.locale.toString()]!);
|
||||
if (!kIsWeb) WindowManager.instance.setTitle(localeMap.get(LocaleKeys.app_name)!);
|
||||
var localSchemesProvider = context.read<LocalSchemesProvider>();
|
||||
|
||||
Reference in New Issue
Block a user