App made with flutter for planning poker cards
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.2 KiB

import 'package:flutter/material.dart';
import 'lists.dart';
ScrollController homeScrollController;
class HomePage extends StatefulWidget {
HomeState createState() {
return HomeState();
class HomeState extends State<HomePage> {
void initState() {
homeScrollController = ScrollController();
Widget build(BuildContext context) {
return ListView.builder(
controller: homeScrollController,
scrollDirection: Axis.horizontal,
itemCount: fibonacci.length,
itemBuilder: (context, index) {
return Container(
key: Key(index.toString()),
width: MediaQuery.of(context).size.width,
color: Colors.transparent,
padding: EdgeInsets.all(15.0),
child: Container(
decoration: new BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.all(Radius.circular(40.0)),
boxShadow: [BoxShadow(color: Colors.grey, blurRadius: 8)],
child: Center(
child: fibonacci[index],