IconAppBar.searchFieldWithScan constructor

IconAppBar.searchFieldWithScan({
  1. Key? key,
  2. VoidCallback? onTap,
})

Implementation

IconAppBar.searchFieldWithScan({
  super.key,
  VoidCallback? onTap,
})  : height = 72,
      appBar = Container(
        padding: Insets.h16v12,
        decoration: const BoxDecoration(
          border: Border(
            bottom: BorderSide(
              color: ColorName.gray100,
            ),
          ),
        ),
        child: SearchTextField(
          onTap: onTap,
        ),
      );