replace expansion_card with expansion_title_card (null safe & active package)
This commit is contained in:
parent
6cd6a1c370
commit
71eb662270
3 changed files with 12 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
|||
import 'dart:convert';
|
||||
|
||||
import 'package:expansion_tile_card/expansion_tile_card.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:photos/core/network.dart';
|
||||
import 'package:photos/ui/expansion_card.dart';
|
||||
import 'package:photos/ui/loading_widget.dart';
|
||||
|
||||
class BillingQuestionsWidget extends StatelessWidget {
|
||||
|
@ -65,9 +65,10 @@ class FaqWidget extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return ExpansionCard(
|
||||
return ExpansionTileCard(
|
||||
title: Text(faq.q),
|
||||
color: Theme.of(context).buttonColor,
|
||||
expandedTextColor: Theme.of(context).buttonColor,
|
||||
baseColor: Theme.of(context).cardColor,
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 16, right: 16),
|
||||
|
|
|
@ -255,6 +255,13 @@ packages:
|
|||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.1.0"
|
||||
expansion_tile_card:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: expansion_tile_card
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.0.0"
|
||||
extended_image:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
|
|
@ -36,7 +36,7 @@ dependencies:
|
|||
email_validator: ^2.0.1
|
||||
event_bus: ^2.0.0
|
||||
exif: ^3.0.0
|
||||
expansion_card: ^0.1.0
|
||||
expansion_tile_card: ^2.0.0
|
||||
extended_image: ^5.1.2
|
||||
flutter:
|
||||
sdk: flutter
|
||||
|
|
Loading…
Add table
Reference in a new issue