How to let one card extend beyond the screen for scrolling but keep another two cards within screen boundaries?

The below code creates the first screenshot. The problem is that the yellow card is being squashed – the string “Long text” should stay on one line and the user should be able to scroll right to see all 14 columns. Please could you tell me how to fix that while not causing the blue cards to be any wider? (the user should be able to see all of each of the blue cards without having to scroll) – like in the 2nd picture.

Thank you for any help 🙂

N

class ItemDetails extends StatelessWidget {  
            return Scaffold(

                appBar: AppBar(
                  title: Text("Test Page"),
                ),

                body: SingleChildScrollView(
                    child: Container(
                        margin: const EdgeInsets.all(10.0),

                        child: Column(
                            crossAxisAlignment: CrossAxisAlignment.start,
                            children: [
                              Card(
                                  color: Colors.yellow.shade200,
                                  elevation: 4.0,
                                  child: Column(
                                    children: [
                                      ListTile(
                                        title: Text("Card 1",
                                     style: TextStyle(color: Colors.black, decoration: TextDecoration.underline, fontWeight: FontWeight.w700),
                                        ),
                                        trailing: IconButton(
                                            onPressed: () async {
                                              await  goToWebPage("https://www.google.com");
                                            },
                                            icon: Icon(Icons.edit)
                                        ),
                                      ),
                                      Container(
                                        padding: EdgeInsets.all(0.0),
                                        alignment: Alignment.centerLeft,
                                        child:
                                        Table(
                                            columnWidths: const <int, TableColumnWidth>{
                                              0: FlexColumnWidth(),
                                              1: IntrinsicColumnWidth(),
                                            },
                                            children: [

                                            ]
                                        ),
                                      ),
                                      /// Detailed payscale table
                                      Container(

                                        alignment: Alignment.centerLeft,
                                        decoration: BoxDecoration(
                                            border: Border.all(color: Colors.blueAccent)
                                        ),
                                        padding: EdgeInsets.all(0.0),

                                        child:
                                        Table(
                                            columnWidths: const <int, TableColumnWidth>{
                                              0: IntrinsicColumnWidth(),
                                              1: IntrinsicColumnWidth(),
                                              2: IntrinsicColumnWidth(),
                                              3: IntrinsicColumnWidth(),
                                              4: IntrinsicColumnWidth(),
                                              5: IntrinsicColumnWidth(),
                                              6: IntrinsicColumnWidth(),
                                              7: IntrinsicColumnWidth(),
                                              8: IntrinsicColumnWidth(),
                                              9: IntrinsicColumnWidth(),
                                              10: IntrinsicColumnWidth(),
                                              11: IntrinsicColumnWidth(),
                                              12: IntrinsicColumnWidth(),
                                              13: IntrinsicColumnWidth(),
                                              14: IntrinsicColumnWidth(),
                                              15: IntrinsicColumnWidth(),
                                              16: IntrinsicColumnWidth()
                                            },
                                            children: [
                                              TableRow(
                                                  children: [
                                                    TableCell(
                                                      child: Text("Column",
                                                          style: TextStyle(color: Colors.black, fontWeight: FontWeight.w700)
                                                      ),
                                                    ),
                                                    TableCell(
                                                        child: SizedBox(
                                                          width: 10.0,
                                                          height: 1.0,
                                                        )
                                                    ),
                                                    TableCell(
                                                      child: Text("1",
                                                          style: TextStyle(color: Colors.black, fontWeight: FontWeight.w700)
                                                      ),
                                                    ),
                                                    TableCell(
                                                        child: SizedBox(
                                                          width: 10.0,
                                                          height: 1.0,
                                                        )
                                                    ),
                                                    TableCell(
                                                      child: Text("2",
                                                          style: TextStyle(color: Colors.black, fontWeight: FontWeight.w700)
                                                      ),
                                                    ),
                                                    TableCell(
                                                        child: SizedBox(
                                                          width: 10.0,
                                                          height: 1.0,
                                                        )
                                                    ),
                                                    TableCell(
                                                      child: Text("3",
                                                          style: TextStyle(color: Colors.black, fontWeight: FontWeight.w700)
                                                      ),
                                                    ),
                                                    TableCell(
                                                        child: SizedBox(
                                                          width: 10.0,
                                                          height: 1.0,
                                                        )
                                                    ),
                                                    TableCell(
                                                      child: Text("4",
                                                          style: TextStyle(color: Colors.black, fontWeight: FontWeight.w700)
                                                      ),
                                                    ),
                                                    TableCell(
                                                        child: SizedBox(
                                                          width: 10.0,
                                                          height: 1.0,
                                                        )
                                                    ),
                                                    TableCell(
                                                      child: Text("5",
                                                          style: TextStyle(color: Colors.black, fontWeight: FontWeight.w700)
                                                      ),
                                                    ),
                                                    TableCell(
                                                        child: SizedBox(
                                                          width: 10.0,
                                                          height: 1.0,
                                                        )
                                                    ),
                                                    TableCell(
                                                      child: Text("6",
                                                          style: TextStyle(color: Colors.black, fontWeight: FontWeight.w700)
                                                      ),
                                                    ),
                                                    TableCell(
                                                        child: SizedBox(
                                                          width: 10.0,
                                                          height: 1.0,
                                                        )
                                                    ),
                                                    TableCell(
                                                      child: Text("7",
                                                          style: TextStyle(color: Colors.black, fontWeight: FontWeight.w700)
                                                      ),
                                                    ),
                                                    TableCell(
                                                        child: SizedBox(
                                                          width: 10.0,
                                                          height: 1.0,
                                                        )
                                                    ),
                                                    TableCell(
                                                      child: Text("8",
                                                          style: TextStyle(color: Colors.black, fontWeight: FontWeight.w700)
                                                      ),
                                                    )
                                                  ]
                                              ),
                                              TableRow(
                                                  children: [
                                                    TableCell(
                                                      child: Text("Row",
                                                          style: TextStyle(color: Colors.black, fontWeight: FontWeight.w700)
                                                      ),
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    )
                                                  ]
                                              ),

                                              TableRow(
                                                  children: [
                                                    TableCell(
                                                      child: Text("1",
                                                          style: TextStyle(color: Colors.black, fontWeight: FontWeight.w700)
                                                      ),
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                        child: Text("Long text",
                                                            style: data?['ddet'] == data?['dlastupd'] ? TextStyle(color: Colors.red, fontWeight: FontWeight.w700): TextStyle(color:Colors.black)
                                                        )
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text("Long text",
                                                          style: data?['ddet'] == data?['dlastupd'] ? TextStyle(color: Colors.red, fontWeight: FontWeight.w700): TextStyle(color:Colors.black)
                                                      )
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text("Long text",
                                                          style: data?['ddet'] == data?['dlastupd'] ? TextStyle(color: Colors.red, fontWeight: FontWeight.w700): TextStyle(color:Colors.black)
                                                      )
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text("Long text",
                                                          style: data?['ddet'] == data?['dlastupd'] ? TextStyle(color: Colors.red, fontWeight: FontWeight.w700): TextStyle(color:Colors.black)
                                                      )
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text("Long text",
                                                          style: data?['ddet'] == data?['dlastupd'] ? TextStyle(color: Colors.red, fontWeight: FontWeight.w700): TextStyle(color:Colors.black)
                                                      )
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text("Long text",
                                                          style: data?['ddet'] == data?['dlastupd'] ? TextStyle(color: Colors.red, fontWeight: FontWeight.w700): TextStyle(color:Colors.black)
                                                      )
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text("Long text",
                                                          style: data?['ddet'] == data?['dlastupd'] ? TextStyle(color: Colors.red, fontWeight: FontWeight.w700): TextStyle(color:Colors.black)
                                                      )
                                                    ),
                                                    TableCell(
                                                      child: Text(""),
                                                    ),
                                                    TableCell(
                                                      child: Text("Long text",
                                                          style: data?['ddet'] == data?['dlastupd'] ? TextStyle(color: Colors.red, fontWeight: FontWeight.w700): TextStyle(color:Colors.black)
                                                      )
                                                    )
                                                  ]
                                              ),
                                            ]
                                        ),
                                      ),
                                    ],
                                  )),

                              Card(
                                  color: Colors.blue.shade200,
                                  elevation: 4.0,
                                  child: Column(
                                    children: [
                                      ListTile(
                                        title: Text("Card 2",
                                          style: TextStyle(color: Colors.black, decoration: TextDecoration.underline, fontWeight: FontWeight.w700),
                                        ),
                                        trailing: IconButton(
                                            onPressed: () async {
                                              await  goToWebPage("https://www.google.com");
                                            },
                                            icon: Icon(Icons.edit)
                                        ),
                                      ),

                                      Container(
                                        padding: EdgeInsets.all(0.0),
                                        alignment: Alignment.centerLeft,
                                        child:
                                        Table(
                                            columnWidths: const <int, TableColumnWidth>{
                                              0: FlexColumnWidth(),
                                              1: IntrinsicColumnWidth(),
                                            },
                                            children: [

                                              TableRow(
                                                  children: [
                                                    TableCell(
                                                      child: Text("Sub Title",
                                                          style: TextStyle(color: Colors.black, fontWeight: FontWeight.w700)
                                                      ),
                                                    ),
                                                    TableCell(
                                                      child: Text("")
                                                    )
                                                  ]
                                              ),
                                              TableRow(
                                                  children: [
                                                    TableCell(
                                                        child: Text("Short text",

                                                        )
                                                    ),
                                                    TableCell(
                                                        child: Text("")
                                                    )
                                                  ]
                                              )
                                            ]
                                        ),
                                      ),
                                    ],
                                  )
                              ),
                              Card(
                                  color: Colors.blue.shade200,
                                  elevation: 4.0,
                                  child: Column(
                                    children: [
                                      ListTile(
                                        title: Text("Card 3",
                                          style: TextStyle(color: Colors.black, decoration: TextDecoration.underline, fontWeight: FontWeight.w700),
                                        ),
                                        trailing: IconButton(
                                            onPressed: () async {
                                              await  goToWebPage("https://www.google.com");
                                            },
                                            icon: Icon(Icons.edit)
                                        ),
                                      ),

                                      Container(
                                        padding: EdgeInsets.all(0.0),
                                        alignment: Alignment.centerLeft,
                                        child:
                                        Table(
                                            columnWidths: const <int, TableColumnWidth>{
                                              0: FlexColumnWidth(),
                                              1: IntrinsicColumnWidth(),
                                            },
                                            children: [

                                              TableRow(
                                                  children: [
                                                    TableCell(
                                                      child: Text("Sub Title",
                                                          style: TextStyle(color: Colors.black, fontWeight: FontWeight.w700)
                                                      ),
                                                    ),
                                                    TableCell(
                                                        child: Text("")
                                                    )
                                                  ]
                                              ),
                                              TableRow(
                                                  children: [
                                                    TableCell(
                                                        child: Text("Short text",

                                                        )
                                                    ),
                                                    TableCell(
                                                        child: Text("")
                                                    )
                                                  ]
                                              )
                                            ]
                                        ),
                                      ),
                                    ],
                                  )
                              ),
                              
                              // text
                            ]
                        )
                    )
                )
            );
          }
          },
    );
  }
}

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật