mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-14 05:52:51 +00:00
Improved blocked services modal bottom sheet
This commit is contained in:
parent
9b63bba853
commit
252c299dbc
1 changed files with 39 additions and 37 deletions
|
@ -67,7 +67,9 @@ class _BlockedServicesModalState extends State<BlockedServicesModal> {
|
|||
),
|
||||
child: Column(
|
||||
children: [
|
||||
Column(
|
||||
Expanded(
|
||||
child: ListView(
|
||||
controller: widget.scrollController,
|
||||
children: [
|
||||
const Padding(
|
||||
padding: EdgeInsets.only(top: 28),
|
||||
|
@ -83,13 +85,11 @@ class _BlockedServicesModalState extends State<BlockedServicesModal> {
|
|||
style: const TextStyle(
|
||||
fontSize: 24
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 20),
|
||||
Expanded(
|
||||
child: ListView.builder(
|
||||
controller: widget.scrollController,
|
||||
ListView.builder(
|
||||
primary: false,
|
||||
shrinkWrap: true,
|
||||
itemCount: services.length,
|
||||
itemBuilder: (context, index) => Material(
|
||||
color: Colors.transparent,
|
||||
|
@ -119,6 +119,8 @@ class _BlockedServicesModalState extends State<BlockedServicesModal> {
|
|||
),
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(20),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue