Skip to main content

List 1

Image

import 'package:flutter/material.dart';
import 'package:gap/gap.dart';
final features = [
'A flexible Gradle-based build system',
'A fast and feature-rich emulator',
'A unified environment where you can develop for all Android devices',
'Live Edit to update composables in emulators and physical devices in real time',
'Code templates and GitHub integration to help you build common app features and import sample code',
];
Column(
children: List.generate(features.length, (index) {
return Padding(
padding: EdgeInsets.only(top: index == 0 ? 0 : 12),
child: Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const Icon(
Icons.radio_button_checked,
color: Colors.deepPurple,
size: 18,
),
const Gap(12),
Expanded(
child: Transform.translate(
offset: const Offset(0, -1),
child: Text(
features[index],
style: const TextStyle(
fontWeight: FontWeight.w400,
fontSize: 14,
),
),
),
),
],
),
);
}),
),