Untitled

asdas
mail@pastecode.io avatar
unknown
dart
2 years ago
3.9 kB
2
Indexable
Never
import 'package:flutter/material.dart';
import 'package:material_design_icons_flutter/material_design_icons_flutter.dart';

class anaEkran extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Center(
      child: Padding(
        padding: const EdgeInsets.only(
          left: 30.0,
          right: 30,
        ),
        child: Column(
          children: [
            Expanded(
              child: Container(
                margin: EdgeInsets.symmetric(vertical: 10),
                child: TextFormField(
                  style: TextStyle(color: Colors.blueAccent),
                  keyboardType: TextInputType.number,
                  decoration: InputDecoration(
                    labelText: 'Karışık Ambalaj Atığı',
                    hintText: 'Litre',
                    prefixIcon: Icon(MdiIcons.recycle),
                    border: OutlineInputBorder(
                      borderRadius: BorderRadius.all(
                        Radius.circular(10),
                      ),
                    ),
                  ),
                ),
              ),
            ),
            Expanded(
              child: Container(
                margin: EdgeInsets.symmetric(vertical: 10),
                child: TextFormField(
                  style: TextStyle(color: Colors.blueAccent),
                  keyboardType: TextInputType.number,
                  decoration: InputDecoration(
                    labelText: 'Bitkisel Yağ Atığı',
                    hintText: 'Kilogram',
                    prefixIcon: Icon(MdiIcons.water),
                    border: OutlineInputBorder(
                      borderRadius: BorderRadius.all(
                        Radius.circular(10),
                      ),
                    ),
                  ),
                ),
              ),
            ),
            Expanded(
              child: Container(
                margin: EdgeInsets.symmetric(vertical: 10),
                child: TextFormField(
                  style: TextStyle(color: Colors.blueAccent),
                  keyboardType: TextInputType.number,
                  decoration: InputDecoration(
                    labelText: 'Atık Pil Atığı',
                    hintText: 'Kilogram',
                    prefixIcon: Icon(MdiIcons.battery),
                    border: OutlineInputBorder(
                      borderRadius: BorderRadius.all(
                        Radius.circular(10),
                      ),
                    ),
                  ),
                ),
              ),
            ),
            Expanded(
              child: Container(
                margin: EdgeInsets.symmetric(vertical: 10),
                child: TextFormField(
                  style: TextStyle(color: Colors.blueAccent),
                  keyboardType: TextInputType.number,
                  decoration: InputDecoration(
                    labelText: 'Elektronik Atığı',
                    hintText: 'Kilogram',
                    prefixIcon: Icon(MdiIcons.cellphone),
                    border: OutlineInputBorder(
                      borderRadius: BorderRadius.all(
                        Radius.circular(10),
                      ),
                    ),
                  ),
                ),
              ),
            ),
            Expanded(
              child: Container(
                margin: EdgeInsets.symmetric(vertical: 20),
                width: 335.4,
                color: Colors.green,
                child: TextButton(
                  onPressed: () {},
                  child: Text(
                    'Oluştur',
                    style: TextStyle(color: Colors.white),
                  ),
                ),
              ),
            ),
          ],
        ),
      ),
    );
  }
}