Skip to main content

8

Image

import 'package:flutter/material.dart';
import 'package:gap/gap.dart';
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Container(
width: 50,
height: 50,
decoration: const BoxDecoration(
shape: BoxShape.circle,
color: Colors.black12,
),
),
Container(
width: 50,
height: 50,
decoration: const BoxDecoration(
shape: BoxShape.circle,
color: Colors.black12,
),
),
],
),
const Gap(24),
const Text(
'Discover',
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(
fontWeight: FontWeight.w500,
fontSize: 18,
color: Colors.black45,
height: 1,
),
),
const Gap(4),
const Text(
'Destinations',
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 30,
color: Colors.black87,
height: 1,
),
),
const Gap(16),
Container(
height: 150,
width: double.infinity,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(12),
color: Colors.black12,
),
alignment: Alignment.center,
child: const Text('Image'),
),
],
),
),