skdx_blocks 0.49.0
skdx_blocks: ^0.49.0 copied to clipboard
Flutter-native SKDX reusable product blocks with consumer-owned state and data.
skdx_blocks #
Reusable product compositions with application-owned state, data access and business actions. Depends on the SKDX core without duplicating its implementation.
Version 0.49.0 is an unpublished development prerelease. Requires Flutter 3.44 / Dart 3.12 or newer; current local verification uses Flutter 3.47.6. Platform and assistive-technology verification remains scoped, not a claim of exhaustive production readiness.
dependencies:
skdx_blocks: ^0.49.0
Use that hosted constraint after publication. Before publication, use a local
path to packages/skdx_blocks in a checkout.
import 'package:flutter/material.dart';
import 'package:skdx_blocks/authentication_form.dart';
void main() => runApp(
MaterialApp(
home: Scaffold(
body: SkdxAuthenticationForm(
title: 'Sign in',
submitLabel: 'Continue',
fields: [
TextFormField(
decoration: const InputDecoration(labelText: 'Email'),
validator: (value) => value == null || value.trim().isEmpty
? 'Enter your email'
: null,
),
],
onSubmit: () {},
),
),
),
);
This example demonstrates required-field validation only; its submission callback is intentionally empty. Authentication, network calls, loading/error state and controllers belong to the app. Do not nest this block inside another Form.
Individual import: package:skdx_blocks/authentication_form.dart. It includes the API's
supporting types. Release builds remove unused Dart code with either import style.
Documentation: https://flutter.skandadx.dev/guides/package-distribution/
MIT licensed, copyright © 2026 SkandaDX. See LICENSE.