Skip to content

Commit

Permalink
Merge pull request #224 from edufolly/dev
Browse files Browse the repository at this point in the history
Version 3.0.0.
  • Loading branch information
edufolly authored Mar 31, 2024
2 parents 023b2f3 + 368ddcd commit 30d35fd
Show file tree
Hide file tree
Showing 11 changed files with 92 additions and 489 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [3.0.0] - 2024-03-31

* Upgrade to Flutter 3.19.0 and Dart 3.3.0.
* Updating Connectivity Plus to ^6.0.0.
* Removing FileField and FileEditingController.

## [2.7.0] - 2024-02-11

* Updating to Font Awesome 10.7.0.
Expand Down
24 changes: 0 additions & 24 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// TODO(edufolly): Remove this line after the next release of the package.
// ignore_for_file: deprecated_member_use

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
Expand All @@ -19,7 +16,6 @@ import 'package:folly_fields/fields/decimal_field.dart';
import 'package:folly_fields/fields/dropdown_field.dart';
import 'package:folly_fields/fields/duration_field.dart';
import 'package:folly_fields/fields/email_field.dart';
import 'package:folly_fields/fields/file_field.dart';
import 'package:folly_fields/fields/icon_data_field.dart';
import 'package:folly_fields/fields/integer_field.dart';
import 'package:folly_fields/fields/ipv4_field.dart';
Expand Down Expand Up @@ -911,26 +907,6 @@ class MyHomePageState extends State<MyHomePage> {
// [/ListField]
),

CodeLink(
code: code,
tag: 'FileField',
source: 'https://github.com/edufolly/folly_fields/'
'blob/main/lib/fields/file_field.dart',
child:
// [FileField]
FileField(
label: 'Arquivo(imagem)',
enabled: edit,
onSaved: (Uint8List? newValue) {
model.blob = newValue ?? Uint8List(0);
},
thumbnailSize: const Size(256, 256),
showImageThumbnail: true,
type: FileFieldType.image,
),
// [/FileField]
),

CodeLink(
code: code,
tag: 'ChoiceChipField',
Expand Down
2 changes: 1 addition & 1 deletion example/macos/Flutter/GeneratedPluginRegistrant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import path_provider_foundation
import url_launcher_macos

func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
ConnectivityPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlugin"))
ConnectivityPlusPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlusPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
}
14 changes: 7 additions & 7 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ description: A new Flutter project.

publish_to: 'none'

version: 2.7.0+208
version: 3.0.0+209

environment:
sdk: ">=3.1.0 <4.0.0"
flutter: ">=3.13.0"
sdk: ">=3.3.0 <4.0.0"
flutter: ">=3.19.0"

dependencies:
# https://pub.dev/packages/connectivity_plus
connectivity_plus: 5.0.2
connectivity_plus: 6.0.0

flutter:
sdk: flutter
Expand All @@ -31,13 +31,13 @@ dependencies:
font_awesome_flutter: 10.7.0

# https://pub.dev/packages/google_fonts
google_fonts: 6.1.0
google_fonts: 6.2.1

# https://pub.dev/packages/http
http: 1.2.0
http: 1.2.1

# https://pub.dev/packages/url_launcher
url_launcher: 6.2.4
url_launcher: 6.2.5

dev_dependencies:
# https://pub.dev/packages/flutter_lints
Expand Down
22 changes: 0 additions & 22 deletions lib/controllers/file_field_controller.dart

This file was deleted.

4 changes: 2 additions & 2 deletions lib/crud/abstract_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -494,10 +494,10 @@ class AbstractListState<
],
),
)
: RawKeyboardListener(
: KeyboardListener(
autofocus: true,
focusNode: keyboardFocusNode,
onKey: (RawKeyEvent event) {
onKeyEvent: (KeyEvent event) {
if (widget.showSearchButton &&
event.character != null) {
_search(event.character);
Expand Down
Loading

0 comments on commit 30d35fd

Please sign in to comment.