I'm using persistentFooterButtons and i wanna remove the top border of its. Anyone knows how ?
My code:
persistentFooterButtons: [
Center(
child: TextButton(
style: ButtonStyle(
),
onPressed: () {
print("press the filter btn");
},
child: Text("Filter")),
)
],

You could do something like this:
Theme(
data: Theme.of(context).copyWith(
dividerColor: Colors.transparent,
),
child: Scaffold(
body: Text("Body"),
persistentFooterButtons: [
Center(
child: TextButton(
style: ButtonStyle(),
onPressed: () {
print("press the filter btn");
},
child: Text("Filter"),
),
),
],
),
);
dividerColor: Colors.transparent, sets the divider / top border to transparent
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With