Hi guys I would like to add button under this code
so that there will be redirection to a website.
class EmptyServiceSearch extends StatelessWidget {
const EmptyServiceSearch({Key key}) : super(key: key);
@override
Widget build(BuildContext context) {
return EmptyState(
imageUrl: AppImages.emptySearch,
title: "No Service/Provider Found".tr(),
description: "There seems to be no Service/Provider".tr(),
);
}
}
2
Answers
You can use
Stack
to achieve this.If you want to add a button below, the you can use
Column
as following,You can try to add a body under the description tag and then add a child to add
Elevated Button
which will give you a button… You can try to position the button in whichever manner you want to