fix(ci): run dart format

This commit is contained in:
Vick Top 2024-02-13 15:51:39 +01:00
parent 42333adfc1
commit b51a4fec21
4 changed files with 17 additions and 17 deletions

View file

@ -66,16 +66,16 @@ abstract class FlutterFormInputWidget<T> extends StatelessWidget {
/// }, /// },
/// ``` /// ```
/// ///
/// [checkPageDescription] is the same as checkPageTitle but for the /// [checkPageDescription] is the same as checkPageTitle but for the
/// description. If null no description will be shown. /// description. If null no description will be shown.
/// ///
/// [onChanged] can be set to get the value whenever the user changes it. /// [onChanged] can be set to get the value whenever the user changes it.
/// Should not be used to save the value. /// Should not be used to save the value.
/// ///
/// [onSubmit] can be set to get the value whenever the user submits it. /// [onSubmit] can be set to get the value whenever the user submits it.
/// Should not be used to save the value. /// Should not be used to save the value.
/// ///
/// [onSaved] goes of when the save function is called for the page if /// [onSaved] goes of when the save function is called for the page if
/// [onValidate] return null. /// [onValidate] return null.
/// ///
/// [onValidate] is used to validate the given input by the user. /// [onValidate] is used to validate the given input by the user.
@ -83,14 +83,14 @@ abstract class FlutterFormInputController<T> {
/// The [id] determines the key in the [Map] returned by the [FlutterForm]. /// The [id] determines the key in the [Map] returned by the [FlutterForm].
String? id; String? id;
/// [value] is a way to set a initial value and will be the value when /// [value] is a way to set a initial value and will be the value when
/// change by the user. /// change by the user.
T? value; T? value;
/// [mandatory] determines if the input is mandatory. /// [mandatory] determines if the input is mandatory.
bool mandatory = false; bool mandatory = false;
/// [checkPageTitle] is a function where you can transform the value from the /// [checkPageTitle] is a function where you can transform the value from the
/// input into something representable. /// input into something representable.
/// This value will be given when defining the check page widgets. /// This value will be given when defining the check page widgets.
/// If this function is not set, the value will be used as is. /// If this function is not set, the value will be used as is.
@ -102,20 +102,20 @@ abstract class FlutterFormInputController<T> {
/// ``` /// ```
String Function(T? value)? checkPageTitle; String Function(T? value)? checkPageTitle;
/// [checkPageDescription] is the same as checkPageTitle but for the /// [checkPageDescription] is the same as checkPageTitle but for the
/// description. /// description.
/// If null no description will be shown. /// If null no description will be shown.
String Function(T? value)? checkPageDescription; String Function(T? value)? checkPageDescription;
/// [onChanged] can be set to get the value whenever the user changes it. /// [onChanged] can be set to get the value whenever the user changes it.
/// Should not be used to save the value. /// Should not be used to save the value.
void Function(T? value)? onChanged; void Function(T? value)? onChanged;
/// [onSubmit] can be set to get the value whenever the user submits it. /// [onSubmit] can be set to get the value whenever the user submits it.
/// Should not be used to save the value. /// Should not be used to save the value.
void Function(T? value)? onSubmit; void Function(T? value)? onSubmit;
/// [onSaved] goes of when the save function is called for the page if /// [onSaved] goes of when the save function is called for the page if
/// [onValidate] return null. /// [onValidate] return null.
void onSaved(T? value); void onSaved(T? value);

View file

@ -42,7 +42,7 @@ class FlutterFormInputCarousel extends FlutterFormInputWidget<int> {
} }
} }
/// Controller for the carousel used by a [FlutterFormInputWidget] used in /// Controller for the carousel used by a [FlutterFormInputWidget] used in
/// a [FlutterForm]. /// a [FlutterForm].
/// ///
/// Mainly used by [FlutterFormInputCarousel]. /// Mainly used by [FlutterFormInputCarousel].

View file

@ -64,7 +64,7 @@ class FlutterFormInputDateTime extends FlutterFormInputWidget<String> {
} }
} }
/// Controller for dates used by a [FlutterFormInputWidget] used in a /// Controller for dates used by a [FlutterFormInputWidget] used in a
/// [FlutterForm]. /// [FlutterForm].
/// ///
/// Mainly used by [FlutterFormInputDateTime]. /// Mainly used by [FlutterFormInputDateTime].

View file

@ -62,7 +62,7 @@ class FlutterFormPage {
} }
/// [CheckPage] is used to set a check page at the end of a [FlutterForm]. /// [CheckPage] is used to set a check page at the end of a [FlutterForm].
/// A [CheckPage] is a page where the user can check all input values before /// A [CheckPage] is a page where the user can check all input values before
/// commiting. /// commiting.
/// ///
/// [title] is the widget shown at the top of the page. /// [title] is the widget shown at the top of the page.
@ -71,15 +71,15 @@ class FlutterFormPage {
/// ///
/// [inputCheckWidget] determines how every input is represented on the page. /// [inputCheckWidget] determines how every input is represented on the page.
/// [title] is the value given in the input. /// [title] is the value given in the input.
/// This input can be modified by setting the [checkPageTitle] of that input /// This input can be modified by setting the [checkPageTitle] of that input
/// controller. /// controller.
/// ///
/// Same for the [description] but if the description is not set in the input /// Same for the [description] but if the description is not set in the input
/// controller no description will be given. /// controller no description will be given.
/// ///
/// [onPressed] can be set so that when the user triggers it the user will be /// [onPressed] can be set so that when the user triggers it the user will be
/// sent back to the page including the input. /// sent back to the page including the input.
/// Here the user can modify the input and save it. Afterwards the user will be /// Here the user can modify the input and save it. Afterwards the user will be
/// sent back to the check page. /// sent back to the check page.
class CheckPage { class CheckPage {
const CheckPage({ const CheckPage({