한글 밑줄 선

                TextButton(
                  onPressed: () {
                    Navigator.pushNamed(context, '/StudentIdentityCheck');
                  },
                  child: RichText(
                    text: TextSpan(
                      children: [
                        WidgetSpan(
                          child: Container(
                            decoration: const BoxDecoration(
                              border: Border(
                                  bottom: BorderSide(color: Colors.black)),
                            ),
                            child: const Text(
                              '메인화면으로 가기',
                              style: TextStyle(
                                color: Color(0xFF6C6C6C),
                              ),
                            ),
                          ),
                        ),
                      ],
                    ),
                  ),
                ),

수평밑줄 선 row로 감싼 이 후

                  Expanded(
                    child: Container(
                      margin: EdgeInsets.symmetric(horizontal: 15), // 좌우 여백 추가
                      child: Divider(
                        color: Colors.grey,
                        thickness: 1, // 선의 두께 설정
                      ),
                    ),
                  ),