searchFlightsButton method

InkWell searchFlightsButton()

Implementation

InkWell searchFlightsButton() {
  return InkWell(
                            onTap:(){
                              goto(Routes.TOP_FLIGHTS);
                              },
                            child: Container(
                              width: double.infinity,
                              height: 50,
                              alignment: Alignment.center,
                              decoration: BoxDecoration(
                                  color: ColorHelper.white,
                                  borderRadius: BorderRadius.circular(8.dp),
                                  border: Border.all(
                                      color: ColorHelper.neutralLightText)),
                              child: const Text(
                               'Search Flights',
                                textAlign: TextAlign.center,
                                style: TextStyle(
                                  fontSize: 18,
                                  fontWeight: FontWeight.w500,
                                  color: ColorHelper.neutralMediumText,
                                ),
                              ),
                            ),
                          );
}