Skip to main content

dynamic_single_text_field 1.1.0 copy "dynamic_single_text_field: ^1.1.0" to clipboard
dynamic_single_text_field: ^1.1.0 copied to clipboard

This package provide you dynamic single text field with custom design.

1.1.0 #

Important:

  • The package now uses package:material_ui instead of the deprecated package:flutter/material.dart, and needs Flutter 3.44.0 or newer.
  • The package depends on material_ui: ^1.0.0, which means any 1.x version from 1.0.0 upward. This keeps the package available on Flutter 3.44 and newer: material_ui 1.0.0 – 1.2.0 support Flutter 3.44, while 1.4.0 and newer need Flutter 3.47. Pub picks the newest material_ui your Flutter version supports, so apps on Flutter 3.47+ still get the latest material_ui automatically.
  • If your app still imports package:flutter/material.dart, migrate your imports before passing borders (inputBorder, enableInputBorder, disableInputBorder, focusedInputBorder): run dart fix --apply --code=migrate_design_widgets.

What's new:

  • Each box is announced to screen readers as "Character N of M".
  • Added widget tests for the package and the example project.
  • Added a GitHub Actions workflow that runs analysis and tests.
  • Updated the example project to Flutter SDK 3.50.1, AGP 9.5.3 and Gradle 9.9.2.

1.0.6 #

What's new:

  • Fixed singleTextHeight being ignored (the box filled the whole list height).
  • Fixed leaked controllers and a duplicated keyboard handler when the number of boxes changes.
  • Fixed the text and cursor being reset on every rebuild.
  • Fixed typing not moving to the next box unless the first box was filled.
  • Backspace on an empty box now goes back exactly one box (physical keyboards).
  • Pasting a code or SMS autofill now fills all boxes, and the focus moves to the next empty box.
  • Typing into a filled box replaces its character (the last box keeps its character).
  • onValidationBaseOnLength is now called once, when the code becomes complete.
  • Callbacks are now typed: onSubmitSingleText is a ValueChanged<String>, onValidationBaseOnLength a VoidCallback.
  • New optional autofillHints parameter (use const [AutofillHints.oneTimeCode] for SMS codes).
  • Minimum Flutter version is now 3.10.0 (matches Dart 3).
  • Added repository and issue_tracker links for pub.dev.
  • Updated the example project to Flutter SDK 3.47.7.

1.0.5+1 #

What's new:

  • Complete UI refresh across the example project.
  • Updated and tested the example project with the latest Flutter SDK 3.44.8.
  • Fixed an issue where the onValidationBaseOnLength callback was triggered incorrectly during typing.
  • Fixed various bugs and improved overall stability.
  • Fixed the example project screenshots.
  • Updated the Android Side for example project.
    • Set target SDK to 37.
    • Updated Gradle to latest version.
    • Updated Kotlin to latest version.
  • Updated the README file.

1.0.5 #

What's new:

  • Complete UI refresh across the example project.
  • Updated and tested the example project with the latest Flutter SDK 3.44.8.
  • Fixed an issue where the onValidationBaseOnLength callback was triggered incorrectly during typing.
  • Fixed various bugs and improved overall stability.
  • Updated the Android Side for example project.
    • Set target SDK to 37.
    • Updated Gradle to latest version.
    • Updated Kotlin to latest version.
  • Updated the README file.

1.0.4 #

What's new:

  • Updated and tested the example project with the latest Flutter SDK 3.41.5.
  • Updated the Android Side for example project.
    • Updated Gradle to latest version.
    • Updated Kotlin to latest version.
  • Updated the README file.

1.0.3 #

What's new:

  • Updated and tested the example project with the latest Flutter SDK 3.35.7.
  • Removed warnings and unnecessary code.
  • Updated the Android Side for example project.
    • Updated Kotlin to latest version.
    • Updated NDK to latest version.
    • Updated CMake to latest version.
  • Updated the README file.

1.0.2 #

What's new:

  • Fixed an issue where pressing Backspace on an empty single text field did not focus on the previous text field.
  • Fixed minor bugs and improved code quality.
  • Updated and tested the example project with the latest Flutter SDK 3.35.5.
  • Updated the Android Side for example project.
    • Updated Gradle to latest version.
    • Updated Kotlin to latest version.
    • Updated NDK to latest version.
    • Updated CMake to latest version.
    • Updated Target SDK to latest version.
    • Migrated Gradle files from Groovy to KTS.
  • Updated the README file and improve the code documentation.

1.0.1 #

What's new:

  • Updated and tested the example project with the latest Flutter SDK 3.35.1.
  • Updated the Android Side for example project.
    • Updated Gradle to latest version.
    • Updated Kotlin to latest version.
    • Updated NDK to latest version.
    • Updated CMake to latest version.
    • Updated Target SDK to latest version.
  • Updated the README file.

1.0.0 #

What's new:

  • Updated and tested the example project with the latest Flutter SDK 3.32.2.
  • Updated the Android Side.
    • Updated Gradle to latest version.
    • Updated Kotlin to latest version.
    • Updated NDK to latest Versions.
    • Updated CMake to latest Versions.
    • Updated minimum SDK from 24 to 27.

0.0.9 #

What's new:

  • Updated and tested the example project with the latest Flutter SDK 3.29.2.
  • Updated the Android Side.
    • Updated Gradle to latest version.
    • Updated Kotlin to latest version.
    • Updated CMake to latest Versions.

0.0.8 #

What's new:

  • Updated the example project with the latest Flutter SDK 3.29.0 and tested.
  • Updated the Android Side.
    • Updated Gradle to latest version.
    • Updated NDK and CMake to latest Versions.

0.0.7 #

What's new:

  • Updated the example project with the latest Flutter SDK and tested.
  • Updated the README file and improve the documentation.
  • Updated the Android Side.
    • Updated Gradle to latest version.
    • Updated Kotlin to Version.

0.0.6 #

What's new:

  • Updated the Example project with the latest Flutter SDK and tested.
  • Updated the README file and improve the documentation.
  • Updated the Android Side.

0.0.5 #

What's new:

  • Updated the Example project with the latest Flutter SDK and tested.
  • Updated the README file and improve the documentation.
  • Updated the Android Side, updated NDK.

0.0.4 #

What's new:

  • Updated the Example project with the latest Flutter SDK and tested.
  • Updated the README file and improve the documentation.

0.0.3 #

What's new:

  • Replaced the Expanded Widget with SizeBox and added a new option to change the height of the ListView singleDynamicListHeight with default value 150.
  • Updated and improved the documentation/example.

0.0.2+1 #

What's new:

  • Updated the README file and improve the documentation.
  • Updated Flutter SDK for example project.

0.0.2 #

What's new:

  • Updated the README file and improve the documentation.

0.0.1+3 #

What's new:

  • Fix the example screenshots.

0.0.1+2 #

What's new:

  • Fix the ChangeLog.
  • Fix a warning.

0.0.1+1 #

  • Fix the Example project.

0.0.1 #

  • initial release.
5
likes
160
points
193
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

This package provide you dynamic single text field with custom design.

Repository (GitHub)
View/report issues

Topics

#dynamic #single #text #field #text-field

License

Apache-2.0 (license)

Dependencies

flutter, material_ui

More

Packages that depend on dynamic_single_text_field