🙂 İNSANLARIN EN HAYIRLISI INSANLARA FAYDALI OLANDIR 🙂

Ramazan HABER / FLUTTER / Material vs MaterialButton kullanımı

1-) FLUTTER - Material vs MaterialButton kullanımı

 

 

MaterialButton(
  elevation:
17,
  shape:
RoundedRectangleBorder(
    borderRadius:
BorderRadius.circular(18.0),
  ),
  onPressed: () {
    kategoriListele(
kategori.id);
  },
  color:
ThemeProvider.themeOf(context).data.bottomAppBarColor,
  textColor:
ThemeProvider.themeOf(context)
      .
data
      
.bottomSheetTheme
      
.backgroundColor,
  child:
Row(
    mainAxisAlignment:
MainAxisAlignment.spaceBetween,
    children: [
      
Expanded(
        child:
Text(
          
kategori.kategoriAd,
          style:
TextStyle(fontSize: 20),
        ),
      ),
      
Icon(Icons.chevron_right_outlined)
    ],
  ),
),

 

 

 2022 Eylül 03 Cumartesi
 295