content: import 'package:flutter/material.dart';
  import 'package:miro/config/theme/design_colors.dart';
  import 'package:miro/generated/l10n.dart';
  import 'package:miro/shared/models/validators/validator_model.dart';
  import 'package:miro/views/pages/menu/validators_page/validators_filter_dropdown.dart';
  import 'package:miro/views/widgets/kira/kira_list/components/list_search_widget.dart';
  
  class ValidatorListTitleDesktop extends StatelessWidget {
    final TextEditingController searchBarTextEditingController;
  
    const ValidatorListTitleDesktop({
      required this.searchBarTextEditingController,
      Key? key,
    }) : super(key: key);
  
    @override
    Widget build(BuildContext context) {
      TextTheme textTheme = Theme.of(context).textTheme;
  
      return SizedBox(
        height: 64,
        child: Row(
          mainAxisAlignment: MainAxisAlignment.spaceBetween,
          children: <Widget>[
            Text(
              S.of(context).validatorsList,
              style: textTheme.displayMedium!.copyWith(
                color: DesignColors.white1,
              ),
            ),
            Expanded(
              child: Align(
                alignment: Alignment.centerRight,
                child: Container(
                  width: double.infinity,
                  constraints: const BoxConstraints(maxWidth: 700),
                  child: Row(
                    mainAxisAlignment: MainAxisAlignment.end,
                    children: <Widget>[
                      const SizedBox(
                        width: 340,
                        child: Row(
                          mainAxisAlignment: MainAxisAlignment.end,
                          crossAxisAlignment: CrossAxisAlignment.center,
                          children: <Widget>[
                            ValidatorsFilterDropdown(),
                          ],
                        ),
                      ),
                      const SizedBox(width: 24),
                      Expanded(
                        child: ListSearchWidget<ValidatorModel>(
                          textEditingController: searchBarTextEditingController,
                          hint: S.of(context).validatorsHintSearch,
                        ),
                      )
                    ],
                  ),
                ),
              ),
            ),
          ],
        ),
      );
    }
  }
  