codifyiq_terms_and_conditions
A standardized way to display terms and conditions and require acceptance before proceeding.
Features
- Scrollable Markdown view for the terms (rendered with
gpt_markdown). - An acceptance checkbox, enabled only once the content is non-scrollable or the user has scrolled to the very end.
- Customizable terms content and an
onAcceptedcallback. - Defaults to placeholder text while your legal team finalizes the language.
Installation
dependencies:
codifyiq_terms_and_conditions: ^1.0.0
Usage
import 'package:codifyiq_terms_and_conditions/codifyiq_terms_and_conditions.dart';
TermsAndConditionsWidget(
onAccepted: () => Navigator.of(context).pop(true),
);
Part of the CodifyIQ component family ยท pub.dev/publishers/codifyiq.com
Libraries
- codifyiq_terms_and_conditions
- A scrollable terms-and-conditions widget with an acceptance checkbox.