mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-14 14:02:48 +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(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
Column(
|
Expanded(
|
||||||
|
child: ListView(
|
||||||
|
controller: widget.scrollController,
|
||||||
children: [
|
children: [
|
||||||
const Padding(
|
const Padding(
|
||||||
padding: EdgeInsets.only(top: 28),
|
padding: EdgeInsets.only(top: 28),
|
||||||
|
@ -83,13 +85,11 @@ class _BlockedServicesModalState extends State<BlockedServicesModal> {
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontSize: 24
|
fontSize: 24
|
||||||
),
|
),
|
||||||
)
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
const SizedBox(height: 20),
|
const SizedBox(height: 20),
|
||||||
Expanded(
|
ListView.builder(
|
||||||
child: ListView.builder(
|
primary: false,
|
||||||
controller: widget.scrollController,
|
shrinkWrap: true,
|
||||||
itemCount: services.length,
|
itemCount: services.length,
|
||||||
itemBuilder: (context, index) => Material(
|
itemBuilder: (context, index) => Material(
|
||||||
color: Colors.transparent,
|
color: Colors.transparent,
|
||||||
|
@ -119,6 +119,8 @@ class _BlockedServicesModalState extends State<BlockedServicesModal> {
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.all(20),
|
padding: const EdgeInsets.all(20),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue