mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-05-10 18:04:25 +02:00
fix: Readd padding between Application Items
This commit is contained in:
parent
d0293f5412
commit
e374e03355
@ -60,7 +60,9 @@ class _ApplicationItemState extends State<ApplicationItem>
|
|||||||
hasIcon: false,
|
hasIcon: false,
|
||||||
animationDuration: Duration(milliseconds: 450),
|
animationDuration: Duration(milliseconds: 450),
|
||||||
),
|
),
|
||||||
header: CustomCard(
|
header: Padding(
|
||||||
|
padding: const EdgeInsets.only(bottom: 16.0),
|
||||||
|
child: CustomCard(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
expController.toggle();
|
expController.toggle();
|
||||||
_animationController.isCompleted
|
_animationController.isCompleted
|
||||||
@ -94,7 +96,8 @@ class _ApplicationItemState extends State<ApplicationItem>
|
|||||||
),
|
),
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
RotationTransition(
|
RotationTransition(
|
||||||
turns: Tween(begin: 0.0, end: 0.50).animate(_animationController),
|
turns:
|
||||||
|
Tween(begin: 0.0, end: 0.50).animate(_animationController),
|
||||||
child: const Padding(
|
child: const Padding(
|
||||||
padding: EdgeInsets.all(8.0),
|
padding: EdgeInsets.all(8.0),
|
||||||
child: Icon(Icons.arrow_drop_down),
|
child: Icon(Icons.arrow_drop_down),
|
||||||
@ -115,9 +118,10 @@ class _ApplicationItemState extends State<ApplicationItem>
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
collapsed: const SizedBox(),
|
collapsed: const SizedBox(),
|
||||||
expanded: Padding(
|
expanded: Padding(
|
||||||
padding: const EdgeInsets.symmetric(vertical: 16.0, horizontal: 16.0),
|
padding: const EdgeInsets.all(16.0).copyWith(top: 0.0),
|
||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user