mirrored_repositories/Fluttereo/Flutter-UI-Kit/flutter_grocery/lib/pages/grocery_list
import 'package:flutter/material.dart';
import 'package:flutter_grocery/util/Constant.dart';
import 'package:flutter_grocery/util/Pallete.dart';
import 'package:flutter_grocery/widgets/TextWidget.dart';

class FilterSortView extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      color: Colors.white,
      child: Row(
        children: [
          Expanded(
              child: Padding(
            padding: const EdgeInsets.all(Constant.HALF_PADDING_VIEW),
            child: Row(
              mainAxisAlignment: MainAxisAlignment.center,
              children: [
                Icon(Icons.filter_list),
                SizedBox(width: Constant.HALF_PADDING_VIEW),
                TextWidget(
                    text: Constant.FILTER,
                    fontColor: Pallete.textColor,
                    fontSize: Constant.TEXT_FONT)
              ],
            ),
          )),
          Container(
              height: 50,
              width: 1,
              child: VerticalDivider(color: Colors.grey[400])),
          Expanded(
              child: Padding(
            padding: const EdgeInsets.all(Constant.HALF_PADDING_VIEW),
            child: Row(
              mainAxisAlignment: MainAxisAlignment.center,
              children: [
                Icon(Icons.sort),
                SizedBox(width: Constant.HALF_PADDING_VIEW),
                TextWidget(
                    text: Constant.SORT,
                    fontColor: Pallete.textColor,
                    fontSize: Constant.TEXT_FONT)
              ],
            ),
          ))
        ],
      ),
    );
  }
}
