Features

Prepare your animated faq list easily.

Installation

Add package to the the pubspec.yaml.

flutter_easy_faq:

Import the package.

import 'package:flutter_easy_faq/easy_faq.dart';

Usage

EasyFaq(
    question: "question?",
    answer: "answer.",
),

Properties

  required String question;
  required String answer;
  TextStyle? questionTextStyle;
  TextStyle? anserTextStyle;
  Duration? duration = const Duration(milliseconds: 100);
  Widget? expandedIcon;
  Widget? collapsedIcon;
  Color? backgroundColor;
  BorderRadiusGeometry? borderRadius;
  EdgeInsetsGeometry? padding = const EdgeInsets.symmetric(
    horizontal: 16,
    vertical: 10,
  );

GitHub

View Github