Merge pull request #4 from Iconica-Development/update-component-documentation-workflow-correct

Add component-documentation.yml correct
This commit is contained in:
Freek van de Ven 2024-02-13 20:59:14 +01:00 committed by GitHub
commit bc241f5cd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 4 deletions

View file

@ -0,0 +1,14 @@
name: Iconica Standard Component Documentation Workflow
# Workflow Caller version: 1.0.0
on:
release:
types: [published]
workflow_dispatch:
jobs:
call-iconica-component-documentation-workflow:
uses: Iconica-Development/.github/.github/workflows/component-documentation.yml@master
secrets: inherit
permissions: write-all

View file

@ -11,10 +11,10 @@ import 'package:flutter/material.dart';
/// Requires [listItemBuilder] which is an [IndexedWidgetBuilder] to build items /// Requires [listItemBuilder] which is an [IndexedWidgetBuilder] to build items
/// in [AnimatedGridToList] list state. /// in [AnimatedGridToList] list state.
/// ///
/// Requires [gridItemSize] which is of type [Size] to build the items and /// Requires [gridItemSize] which is of type [Size] to build the items and
/// handle the scrolling accordingly. /// handle the scrolling accordingly.
/// ///
/// Requires [listItemSize] which is of type [Size] to build the items and /// Requires [listItemSize] which is of type [Size] to build the items and
/// handle the scrolling accordingly. /// handle the scrolling accordingly.
/// ///
/// It also requires an [itemCount], which is of type [int]. /// It also requires an [itemCount], which is of type [int].
@ -38,11 +38,11 @@ class AnimatedGridToListItemBuilder {
/// [IndexedWidgetBuilder] which build the items in animated state. /// [IndexedWidgetBuilder] which build the items in animated state.
final IndexedWidgetBuilder? animatedItemBuilder; final IndexedWidgetBuilder? animatedItemBuilder;
/// A [Size] to build the items in the correct manner and handle scrolling /// A [Size] to build the items in the correct manner and handle scrolling
/// in grid state. /// in grid state.
final Size gridItemSize; final Size gridItemSize;
/// A [Size] to build the items in the correct manner and handle scrolling /// A [Size] to build the items in the correct manner and handle scrolling
/// in list state. /// in list state.
final Size listItemSize; final Size listItemSize;