What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-20 05:45:14
tab controller
class MyTabbedPage extends StatefulWidget { const MyTabbedPage({ Key? key }) : super(key: key); @override _MyTabbedPageState createState() => _MyTabbedPageState(); } class _MyTabbedPageState extends State<MyTabbedPage> with SingleTickerPro... Add solution -
Other 2022-03-17 19:20:05
showModalBottomSheet keyboard issue
showModalBottomSheet( shape: RoundedRectangleBorder( borderRadius: BorderRadius.vertical(top: Radius.circular(25.0))), backgroundColor: Colors.black, context: context, isScrollControlled: true, builder: (context) => Padding... Add solution -
Other 2022-03-05 22:40:05
mengganti warna background flutt
appBar: AppBar( leading: IconButton( icon: Icon( Icons.arrow_back ), onPressed: () { Navigator.of(context).pop(); } ), iconTheme: IconThemeData( color: Colors.red, //change your color here ), backgroundColor: Colors.blue, title: Text("A... Add solution -
Other 2022-03-02 16:10:17
Failed assertion: line 1861 pos 16: 'constraints.hasBoundedHeight': is not true.
Container( height: double.maxFinite, child: ListView.builder( shrinkWrap: true, scrollDirection: Axis.horizontal, itemCount: 6, itemBuilder: (BuildContext context, int index) { return Text( '$... Add solution -
Other 2022-02-25 16:40:05
flutter limit string length rich text
.... .... Flexible( child: RichText( overflow: TextOverflow.ellipsis, // this will help add dots after maxLines maxLines: 2, // max lines after that dots comes strutStyle: StrutStyle(fontSize: 12.0), text: TextSpan( style... Add solution -
Other 2022-02-18 03:40:17
how to show a listview in modal dialog flutter
AlertDialog( title: Container(child: Padding( padding: const EdgeInsets.all(8.0), child: Text('Pick Item',style: TextStyle(color: Colors.white),), ),color: Colors.blueAccent,), content: setupAlertDialoadContainer(context), ); Add solution
Best helpers
Eredani
+5
Dave Holly
+5
Hudhud
+5
Qwerp
+5
Asuka02
+5
Pulverize
+5
NinjaDuckie
+5
John Bottom
+5
RedRiderX
+5