mirror of
https://github.com/Iconica-Development/flutter_grid_to_list.git
synced 2025-05-19 04:23:45 +02:00
Merge pull request #4 from Iconica-Development/update-component-documentation-workflow-correct
Add component-documentation.yml correct
This commit is contained in:
commit
bc241f5cd8
2 changed files with 18 additions and 4 deletions
14
.github/workflows/component-documentation.yml
vendored
Normal file
14
.github/workflows/component-documentation.yml
vendored
Normal 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
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue