Rohmatul Laily
Rohmatul Laily

Reputation: 481

remove line between two container flutter

I have 2 containers, but in the middle of 2 containers there are unwanted lines, how can I remove them? enter image description here

Column(
             children: [
               Container(height: 30,
                 color: Colors.white,
               ),
               Containers(
                 height: 45,
                 color : Colors.orange,
                 child: Container(
                   height: AppTheme.space3,
                   decoration: BoxDecoration(
                     borderRadius: BorderRadius.only(
                       bottomLeft: Radius.circular(AppTheme.space4),
                       bottomRight: Radius.circular(AppTheme.space4),
                     ),
                     color: Colors.white,
                   ),
                 ),
               )
]);

Upvotes: 4

Views: 753

Answers (1)

Md. Yeasin Sheikh
Md. Yeasin Sheikh

Reputation: 63614

You can include border decoration to it.

decoration: BoxDecoration(
  color: Colors.white,
  border: Border.all(
    width: 0,
    color: Colors.white,
  ),
),

You can check this git issue which might be related.

Upvotes: 4

Related Questions