update
This commit is contained in:
parent
7b89a8a471
commit
e6aebd9a64
5 changed files with 35 additions and 26 deletions
|
|
@ -10,19 +10,19 @@ class SloganWidget extends StatelessWidget {
|
|||
Widget build(BuildContext context) {
|
||||
return Column(
|
||||
children: [
|
||||
_buildSloganItem("Easy to Use"),
|
||||
_buildSloganItem("Easy to Use", 48),
|
||||
const Gap(8),
|
||||
_buildSloganItem("Access to Medicine"),
|
||||
_buildSloganItem("Access to Medicine", 88),
|
||||
const Gap(8),
|
||||
_buildSloganItem("Home Delivery"),
|
||||
_buildSloganItem("Instant Home Delivery", 128),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildSloganItem(String text) {
|
||||
Widget _buildSloganItem(String text, double gap) {
|
||||
return Row(
|
||||
children: [
|
||||
const Gap(48),
|
||||
Gap(gap),
|
||||
FaIcon(
|
||||
size: 24,
|
||||
FontAwesomeIcons.circleCheck,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue