Untitled

mail@pastecode.io avatar
unknown
dart
2 years ago
2.6 kB
2
Indexable
Never
child: customerID == GlobalV.currentCustomerID
                                ? Padding(
                                    padding:
                                        EdgeInsets.only(left: width * 0.045),
                                    child: TextFormField(
                                      minLines: 1,
                                      maxLines: 8,
                                      controller: _messageController,
                                      decoration: InputDecoration(
                                        border: OutlineInputBorder(
                                            borderRadius:
                                                BorderRadius.circular(40)),
                                      ),
                                    ),
                                  )
                                : Padding(
                                    padding:
                                        EdgeInsets.only(left: width * 0.045),
                                    child: Container(
                                      height: height * 0.075,
                                      decoration: BoxDecoration(
                                        color: Colors.grey[300],
                                        border: Border.all(
                                            width: 1, color: Colors.grey[400]),
                                        borderRadius: BorderRadius.circular(30),
                                      ),
                                      child: Center(
                                        child: Padding(
                                          padding: EdgeInsets.only(
                                              left: width * 0.040,
                                              right: width * 0.025),
                                          child: AutoSizeText(
                                            "Sadece aktif seyahatinizdeki müşteriyle iletişime geçebilirsiniz",
                                            maxLines: 2,
                                            style: TextStyle(
                                              fontSize: 100,
                                              fontStyle: FontStyle.italic,
                                              color: Colors.grey[700],
                                            ),
                                          ),
                                        ),
                                      ),
                                    ),
                                  ),