searchTypeView function

dynamic searchTypeView()

Implementation

searchTypeView() {
  return Padding(
    padding:
    const EdgeInsets.only(top: 16.0, left: 20, right: 20, bottom: 16),
    child: Row(
      children: [
        GestureDetector(
          onTap: () {

          },
          child: Container(
            height: 32,
            padding: EdgeInsets.fromLTRB(12, 8, 12, 8),
            decoration: BoxDecoration(
                gradient: LinearGradient(
                    colors:
                        [
                      Colors.white,
                      Colors.white,
                      Colors.white,
                      Colors.white,
                    ]),
                borderRadius: BorderRadius.circular(16)),
            child: Row(
              mainAxisSize: MainAxisSize.min,
              children: [
                Image.asset(
                  'assets/images/menu.png',
                  height: 13,
                ),
                SizedBox(
                  width: 4,
                ),
                const Text(
                  'Posts',
                  style: TextStyle(
                      color: Colors.black,
                      fontSize: 13,
                      fontWeight: FontWeight.bold),
                )
              ],
            ),
          ),
        ),
        SizedBox(
          width: 8,
        ),
        GestureDetector(
          onTap: () {

          },
          child: Container(
            height: 32,
            padding: const EdgeInsets.fromLTRB(12, 8, 12, 8),
            decoration: BoxDecoration(
              gradient: LinearGradient(
                  colors: [
                    Colors.white,
                    Colors.white,
                    Colors.white,
                    Colors.white,
                  ]),
              borderRadius: BorderRadius.circular(16),
            ),
            child: Row(
              mainAxisSize: MainAxisSize.min,
              children: [
                Image.asset(
                  'assets/images/gallerys.png',
                  height: 12,
                ),
                const SizedBox(
                  width: 4,
                ),
                const Text(
                  'Photos',
                  style: TextStyle(
                      color: Colors.black,
                      fontSize: 12,
                      fontWeight: FontWeight.bold),
                )
              ],
            ),
          ),
        ),
        SizedBox(
          width: 8,
        ),
        GestureDetector(
          onTap: () {
          },
          child: Container(
            height: 32,
            padding: const EdgeInsets.fromLTRB(12, 8, 12, 8),
            decoration: BoxDecoration(
                color: Colors.white, borderRadius: BorderRadius.circular(16)),
            child: Row(
              mainAxisSize: MainAxisSize.min,
              children: [
                Image.asset(
                  'assets/images/friends.png',
                  height: 12,
                ),
                const SizedBox(
                  width: 4,
                ),
                Text(
                  '',
                  style: TextStyle(
                      color: Colors.black,
                      fontSize: 12,
                      fontWeight: FontWeight.bold),
                )
              ],
            ),
          ),
        )
      ],
    ),
  );
}