turkiye_il_ilce_mahalle 0.1.1 copy "turkiye_il_ilce_mahalle: ^0.1.1" to clipboard
turkiye_il_ilce_mahalle: ^0.1.1 copied to clipboard

outdated

Turkiye Il Ilce Koy Mahalle veritabanina bagli olarak adres secme flutter paketi

turkiye_il_ilce_mahalle #

Türkiye İl İlçe Köy Mahalle veritabanına bağlı olarak adres seçme flutter paketi

Flutter paketini kullanmak için

How to use #

Paketi aşağıdaki şekilde kullanabilirsiniz.

class _OrnekState extends State<Ornek> {
    Map _ilM = {"il": "İl Seçimi Yapın"};
    Map _ilceM = {"ilce": "İlçe Seçimi Yapın"};
    Map _koyM = {"koy": "Köy Seçimi Yapın"};
    Map _mahalleM = {"mahalle": "Mahalle Seçimi Yapın"};

    @override
    Widget build(BuildContext context) {
      return Scaffold(
        appBar: AppBar(
          title: Text("Adres Seçimi"),
        ),
        body: Container(
          child: Column(
            children: <Widget>[
              Align(
                alignment: Alignment.topLeft,
                child: Padding(
                  padding: const EdgeInsets.all(8.0),
                  child: Text(
                    "İl",
                    style: TextStyle(
                      fontWeight: FontWeight.bold,
                      fontSize: 20.0,
                      color: Color(0xFF333333),
                    ),
                  ),
                ),
              ),
              Il(
                fonksiyon: (Map gelenDeger) {
                  _ilM = gelenDeger;
                  _ilceM = {"ilce": "İlçe Seçimi Yapın"};
                  _koyM = {"koy": "Köy Seçimi Yapın"};
                  _mahalleM = {"mahalle": "Mahalle Seçimi Yapın"};
                },
                child: Text("${_ilM['il']}"),
              ),
              Align(
                alignment: Alignment.topLeft,
                child: Padding(
                  padding: const EdgeInsets.all(8.0),
                  child: Text(
                    "İlçe",
                    style: TextStyle(
                      fontWeight: FontWeight.bold,
                      fontSize: 20.0,
                      color: Color(0xFF333333),
                    ),
                  ),
                ),
              ),
              Ilce(
                ilVarMi: _ilM['il'] != "İl Seçimi Yapın",
                ilKodu: _ilM['id'],
                fonksiyon: (Map gelenDeger) {
                  _ilceM = gelenDeger;
                  _koyM = {"koy": "Köy Seçimi Yapın"};
                  _mahalleM = {"mahalle": "Mahalle Seçimi Yapın"};
                },
                child: Text("${_ilceM['ilce']}"),
              ),
              Align(
                alignment: Alignment.topLeft,
                child: Padding(
                  padding: const EdgeInsets.all(8.0),
                  child: Text(
                    "Köy",
                    style: TextStyle(
                      fontWeight: FontWeight.bold,
                      fontSize: 20.0,
                      color: Color(0xFF333333),
                    ),
                  ),
                ),
              ),
              Koy(
                ilceVarMi: _ilceM['ilce'] != "İlçe Seçimi Yapın",
                ilceKodu: _ilceM['id'],
                fonksiyon: (Map gelenDeger) {
                  _koyM = gelenDeger;
                  _mahalleM = {"mahalle": "Mahalle Seçimi Yapın"};
                },
                child: Text("${_koyM['koy']}"),
              ),
              Align(
                alignment: Alignment.topLeft,
                child: Padding(
                  padding: const EdgeInsets.all(8.0),
                  child: Text(
                    "Mahalle",
                    style: TextStyle(
                      fontWeight: FontWeight.bold,
                      fontSize: 20.0,
                      color: Color(0xFF333333),
                    ),
                  ),
                ),
              ),
              Mahalle(
                koyVarMi: _koyM['koy'] != "Köy Seçimi Yapın",
                koyKodu: _koyM['id'],
                fonksiyon: (Map gelenDeger) {
                  _mahalleM = gelenDeger;
                },
                child: Text("${_mahalleM['mahalle']}"),
              ),
            ],
          ),
        ),
      );
    }
}
13
likes
0
pub points
18%
popularity

Publisher

verified publisherdershub.com

Turkiye Il Ilce Koy Mahalle veritabanina bagli olarak adres secme flutter paketi

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on turkiye_il_ilce_mahalle