Я новичок в трепетании, я пытаюсь обернуть вкладки, чтобы они поместились в разные строки, но это не работает, держите вас, пожалуйста, скажите мне, что я должен добавить в свой код ... Я ценю помощь .. .................................................. ................. спасибо
Column(
children:[Card(
child: Container(decoration: BoxDecoration(gradient: LinearGradient(colors: [Colors.green,Colors.white,Colors.red],),),
child: Text(
"journals ",
style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold,color: Colors.black),
),
),
), SingleChildScrollView(
child:Row(
children: _list.map((dynamic link) => _urlButton(context,link)).toList(),
),),]}
Widget _urlButton(BuildContext context, dynamic url) {
return Container(child:
Card(child:Row(children: [Tab(
child: IconButton(
iconSize: 100,
icon: Image.asset(url["a"]),
onPressed: () => _handleURLButtonPress(context, url),
)),],),
),);
}
void _handleURLButtonPress(BuildContext context, dynamic url) {
Navigator.push<dynamic>(context,
MaterialPageRoute<dynamic>(builder: (context) => WebViewContainer(url["b"])));
}