import 'package:flutter/material.dart';
class FlutterSdkSetupGuide extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Flutter SDK Setup Guide'),
),
body: Padding(
padding: EdgeInsets.all(16),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text('1. Download Flutter SDK', style: TextStyle(fontSize: 18)),
SizedBox(height: 12),
Text('2. Extract the zip file', style: TextStyle(fontSize: 18)),
SizedBox(height: 12),
Text('3. Add flutter/bin to PATH', style: TextStyle(fontSize: 18)),
SizedBox(height: 12),
Text('4. Run flutter doctor', style: TextStyle(fontSize: 18)),
Spacer(),
Center(
child: ElevatedButton(
onPressed: () {},
child: Text('Next'),
),
),
],
),
),
);
}
}
This screen uses a Scaffold with an AppBar titled "Flutter SDK Setup Guide". The body has padding and a vertical Column layout. Four numbered steps are shown as Text widgets with spacing between them using SizedBox. The Next button is centered at the bottom using Spacer and Center widgets. The button is tappable but does not perform any action yet.
This simple layout clearly shows the installation steps in order, making it easy for beginners to follow.