разделитель флаттера не отображается под именем. когда я заменю строку с разделителем строк появится - PullRequest
0 голосов
/ 03 мая 2020
body: Center(
        child: Container(
          height: 500,
          width: 900,
          decoration: BoxDecoration(
            color: Colors.white,
            borderRadius: BorderRadius.all(
              Radius.circular(20),
            ),
          ),
          child: Row(
            mainAxisAlignment: MainAxisAlignment.start,
            crossAxisAlignment: CrossAxisAlignment.start,
            children: <Widget>[
              Padding(
                padding: const EdgeInsets.all(30.0),
                child: CircleAvatar(
                  backgroundImage: AssetImage('assets/images/doctor.jpg'),
                  radius: 110.0,
                ),
              ),
              Padding(
                padding: const EdgeInsets.all(30.0),
                child: Column(
                  children: <Widget>[
                    Row(
                      children: <Widget>[
                        Text(
                          'Name',
                          style: TextStyle(
                              color: Colors.grey,
                              fontSize: 22,
                              fontWeight: FontWeight.bold),
                        ),
                        SizedBox(width: 50),
                        Text(
                          'KEBOT CORNELO',
                          style: TextStyle(
                            color: Colors.black,
                            fontSize: 22,
                          ),
                        ),
                      ],
                    ),
                    Divider(
                      height: 20,
                      thickness: 10,
                      color: Colors.black,
                      indent: 110,
                      endIndent: 450,
                    ),
                    Row(
                      children: <Widget>[
                        Text(
                          'Name 2',
                          style: TextStyle(
                              color: Colors.grey,
                              fontSize: 22,
                              fontWeight: FontWeight.bold),
                        ),
                        SizedBox(width: 50),
                        Text(
                          'CORNELO KEBOT',
                          style: TextStyle(
                            color: Colors.black,
                            fontSize: 22,
                          ),
                        ),
                      ],
                    ),
                  ],
                ),
              ),
            ],
          ),
        ),
      ),
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...