skip to Main Content

How to make this type of expansion tile in flutter

here is the example image of i need and here is the code i tried Padding( padding: const EdgeInsets.only(right: 30, left: 30, bottom: 20), child: Container( decoration: boxDecoration, child: const ExpansionTile( collapsedIconColor: Colors.white, iconColor: Colors.white, tilePadding: EdgeInsets.only(left: 5, right: 20,…

VIEW QUESTION

Flutter Fetch API

Im trying to fetch data from external api, but my screen show this error message: [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'Null' is not a subtype of type 'bool' My Screen code is this: class PricesScreen extends StatefulWidget { const PricesScreen({super.key}); @override…

VIEW QUESTION

there is a top and bottom gap – Flutter

hi i have remove the expanded , now the bold text of child has curly wave , what i did wrong over here. below is my code i, please advice, thanks import 'package:flutter/material.dart'; class Introduction extends StatefulWidget { const Introduction({super.key});…

VIEW QUESTION

How to wrap a list of widgets with Flexible – Flutter

I have a StatelessWidget defined as: class FlexElement extends StatelessWidget { final List<Widget> widgets; final bool isVisible; const FlexElement({ Key? key, required this.widgets, required this.isVisible, }) : super(key: key); @override Widget build(BuildContext context) { return Visibility( visible: isVisible, child: Container(…

VIEW QUESTION
Back To Top
Search