|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Flutter samples</title>
|
|
|
|
<link href="styles.css" rel="stylesheet" media="screen">
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Google+Sans|Google+Sans+Display|Roboto:300,400,500&display=swap" rel="stylesheet">
|
|
|
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<script src="packages/mdc_web/material-components-web.min.js"></script>
|
|
|
|
<script src="https://kit.fontawesome.com/16cc04762e.js"></script>
|
|
|
|
<script defer src="description.dart.js"></script>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div class="content">
|
|
|
|
<div class="navbar">
|
|
|
|
<a class="leading" href="./">
|
|
|
|
<img src="images/logos/logo_lockup_flutter_horizontal_wht_96.png" />
|
|
|
|
<span class="title">Samples</span>
|
|
|
|
</a>
|
|
|
|
<div class="nav-items">
|
|
|
|
<a href="https://flutter.dev/">Flutter Home</a>
|
|
|
|
<a href="https://api.flutter.dev/">API Docs</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="container">
|
|
|
|
<div class="description-title-row">
|
|
|
|
<h1>Create a horizontal list</h1>
|
|
|
|
<div class="type-label type-label-bordered">cookbook</div>
|
|
|
|
</div>
|
|
|
|
<p>By Flutter</p>
|
|
|
|
<div class="toolbar">
|
|
|
|
<div class="buttons">
|
|
|
|
<button class="mdc-button mdc-button--outlined" onclick="window.location.href = 'https://flutter.dev/docs/cookbook/lists/horizontal-list.html';"> <span class="mdc-button__ripple"></span>View Recipe</button>
|
|
|
|
</div>
|
|
|
|
<div class="tags-container">
|
|
|
|
<div class="tags-label">
|
|
|
|
<i class="material-icons">local_offer</i>
|
|
|
|
<span>Tags</span>
|
|
|
|
</div>
|
|
|
|
<div class="tags">
|
|
|
|
<a href="./#?search=tag%3Acookbook">cookbook</a>
|
|
|
|
<a href="./#?search=tag%3Alists">lists</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="slider-container">
|
|
|
|
<div class="slider-content">
|
|
|
|
<div class="slider-single"><img class="slider-single-image" src="images/cookbook/horizontal-list.png" alt="Cookbook article" /></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<p>You might want to create a list that scrolls
|
|
|
|
horizontally rather than vertically.
|
|
|
|
The ListView widget supports horizontal lists.</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
<div class="footer">
|
|
|
|
<span>© Flutter 2020</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</html>
|