Skip to content

Commit 548edd5

Browse files
committed
feat: support strings in library barcode
1 parent 40f6e93 commit 548edd5

File tree

3 files changed

+71
-46
lines changed

3 files changed

+71
-46
lines changed

ios/Podfile.lock

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,6 @@ PODS:
103103
- nanopb/encode (3.30910.0)
104104
- package_info_plus (0.4.5):
105105
- Flutter
106-
- path_provider_foundation (0.0.1):
107-
- Flutter
108-
- FlutterMacOS
109106
- permission_handler_apple (9.3.0):
110107
- Flutter
111108
- PromisesObjC (2.4.0)
@@ -164,7 +161,6 @@ DEPENDENCIES:
164161
- map_launcher (from `.symlinks/plugins/map_launcher/ios`)
165162
- maplibre_gl (from `.symlinks/plugins/maplibre_gl/ios`)
166163
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
167-
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
168164
- permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
169165
- quick_actions_ios (from `.symlinks/plugins/quick_actions_ios/ios`)
170166
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
@@ -221,8 +217,6 @@ EXTERNAL SOURCES:
221217
:path: ".symlinks/plugins/maplibre_gl/ios"
222218
package_info_plus:
223219
:path: ".symlinks/plugins/package_info_plus/ios"
224-
path_provider_foundation:
225-
:path: ".symlinks/plugins/path_provider_foundation/darwin"
226220
permission_handler_apple:
227221
:path: ".symlinks/plugins/permission_handler_apple/ios"
228222
quick_actions_ios:
@@ -267,7 +261,6 @@ SPEC CHECKSUMS:
267261
maplibre_gl: a2114567cbd1065866614fbd34dfb75ab782aaa2
268262
nanopb: fad817b59e0457d11a5dfbde799381cd727c1275
269263
package_info_plus: af8e2ca6888548050f16fa2f1938db7b5a5df499
270-
path_provider_foundation: bb55f6dbba17d0dccd6737fe6f7f34fbd0376880
271264
permission_handler_apple: 4ed2196e43d0651e8ff7ca3483a069d469701f2d
272265
PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
273266
PromisesSwift: 9d77319bbe72ebf6d872900551f7eeba9bce2851

lib/studentCardComponent/views/bar_code_view.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class BarCodeView extends StatelessWidget {
2626
height: 70,
2727
padding: const EdgeInsets.all(10),
2828
data: libraryID,
29-
barcode: Barcode.code39(),
29+
barcode: Barcode.code128(),
3030
drawText: false,
3131
),
3232
),

pubspec.lock

Lines changed: 70 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ packages:
9393
dependency: transitive
9494
description:
9595
name: build
96-
sha256: c1668065e9ba04752570ad7e038288559d1e2ca5c6d0131c0f5f55e39e777413
96+
sha256: "275bf6bb2a00a9852c28d4e0b410da1d833a734d57d39d44f94bfc895a484ec3"
9797
url: "https://pub.dev"
9898
source: hosted
99-
version: "4.0.3"
99+
version: "4.0.4"
100100
build_config:
101101
dependency: transitive
102102
description:
@@ -117,10 +117,10 @@ packages:
117117
dependency: "direct dev"
118118
description:
119119
name: build_runner
120-
sha256: "110c56ef29b5eb367b4d17fc79375fa8c18a6cd7acd92c05bb3986c17a079057"
120+
sha256: b4d854962a32fd9f8efc0b76f98214790b833af8b2e9b2df6bfc927c0415a072
121121
url: "https://pub.dev"
122122
source: hosted
123-
version: "2.10.4"
123+
version: "2.10.5"
124124
built_collection:
125125
dependency: transitive
126126
description:
@@ -133,10 +133,10 @@ packages:
133133
dependency: transitive
134134
description:
135135
name: built_value
136-
sha256: "426cf75afdb23aa74bd4e471704de3f9393f3c7b04c1e2d9c6f1073ae0b8b139"
136+
sha256: "7931c90b84bc573fef103548e354258ae4c9d28d140e41961df6843c5d60d4d8"
137137
url: "https://pub.dev"
138138
source: hosted
139-
version: "8.12.1"
139+
version: "8.12.3"
140140
cached_network_image:
141141
dependency: "direct main"
142142
description:
@@ -209,6 +209,14 @@ packages:
209209
url: "https://pub.dev"
210210
source: hosted
211211
version: "1.1.2"
212+
code_assets:
213+
dependency: transitive
214+
description:
215+
name: code_assets
216+
sha256: ae0db647e668cbb295a3527f0938e4039e004c80099dce2f964102373f5ce0b5
217+
url: "https://pub.dev"
218+
source: hosted
219+
version: "0.19.10"
212220
code_builder:
213221
dependency: transitive
214222
description:
@@ -309,18 +317,18 @@ packages:
309317
dependency: "direct main"
310318
description:
311319
name: drift
312-
sha256: "3669e1b68d7bffb60192ac6ba9fd2c0306804d7a00e5879f6364c69ecde53a7f"
320+
sha256: "5ea2f718558c0b31d4b8c36a3d8e5b7016f1265f46ceb5a5920e16117f0c0d6a"
313321
url: "https://pub.dev"
314322
source: hosted
315-
version: "2.30.0"
323+
version: "2.30.1"
316324
drift_dev:
317325
dependency: "direct dev"
318326
description:
319327
name: drift_dev
320-
sha256: afe4d1d2cfce6606c86f11a6196e974a2ddbfaa992956ce61e054c9b1899c769
328+
sha256: "892dfb5d69d9e604bdcd102a9376de8b41768cf7be93fd26b63cfc4d8f91ad5f"
321329
url: "https://pub.dev"
322330
source: hosted
323-
version: "2.30.0"
331+
version: "2.30.1"
324332
easy_localization:
325333
dependency: "direct main"
326334
description:
@@ -497,10 +505,10 @@ packages:
497505
dependency: "direct main"
498506
description:
499507
name: flutter_riverpod
500-
sha256: "38ec6c303e2c83ee84512f5fc2a82ae311531021938e63d7137eccc107bf3c02"
508+
sha256: a3cd0547353c1990bf5ad64f73143e5ce7a780409639559ad83a743ff3b945e4
501509
url: "https://pub.dev"
502510
source: hosted
503-
version: "3.1.0"
511+
version: "3.2.0"
504512
flutter_secure_storage:
505513
dependency: "direct main"
506514
description:
@@ -720,6 +728,14 @@ packages:
720728
url: "https://pub.dev"
721729
source: hosted
722730
version: "0.9.0"
731+
hooks:
732+
dependency: transitive
733+
description:
734+
name: hooks
735+
sha256: "5410b9f4f6c9f01e8ff0eb81c9801ea13a3c3d39f8f0b1613cda08e27eab3c18"
736+
url: "https://pub.dev"
737+
source: hosted
738+
version: "0.20.5"
723739
html:
724740
dependency: "direct main"
725741
description:
@@ -916,10 +932,10 @@ packages:
916932
dependency: "direct overridden"
917933
description:
918934
name: meta
919-
sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"
935+
sha256: "1741988757a65eb6b36abe716829688cf01910bbf91c34354ff7ec1c3de2b349"
920936
url: "https://pub.dev"
921937
source: hosted
922-
version: "1.17.0"
938+
version: "1.18.0"
923939
mime:
924940
dependency: transitive
925941
description:
@@ -928,6 +944,14 @@ packages:
928944
url: "https://pub.dev"
929945
source: hosted
930946
version: "2.0.0"
947+
native_toolchain_c:
948+
dependency: transitive
949+
description:
950+
name: native_toolchain_c
951+
sha256: f8872ea6c7a50ce08db9ae280ca2b8efdd973157ce462826c82f3c3051d154ce
952+
url: "https://pub.dev"
953+
source: hosted
954+
version: "0.17.2"
931955
node_preamble:
932956
dependency: transitive
933957
description:
@@ -936,6 +960,14 @@ packages:
936960
url: "https://pub.dev"
937961
source: hosted
938962
version: "2.0.2"
963+
objective_c:
964+
dependency: transitive
965+
description:
966+
name: objective_c
967+
sha256: "55eb67ede1002d9771b3f9264d2c9d30bc364f0267bc1c6cc0883280d5f0c7cb"
968+
url: "https://pub.dev"
969+
source: hosted
970+
version: "9.2.2"
939971
octo_image:
940972
dependency: transitive
941973
description:
@@ -1004,10 +1036,10 @@ packages:
10041036
dependency: transitive
10051037
description:
10061038
name: path_provider_foundation
1007-
sha256: "6d13aece7b3f5c5a9731eaf553ff9dcbc2eff41087fd2df587fd0fed9a3eb0c4"
1039+
sha256: "2a376b7d6392d80cd3705782d2caa734ca4727776db0b6ec36ef3f1855197699"
10081040
url: "https://pub.dev"
10091041
source: hosted
1010-
version: "2.5.1"
1042+
version: "2.6.0"
10111043
path_provider_linux:
10121044
dependency: transitive
10131045
description:
@@ -1196,10 +1228,10 @@ packages:
11961228
dependency: transitive
11971229
description:
11981230
name: riverpod
1199-
sha256: "16ff608d21e8ea64364f2b7c049c94a02ab81668f78845862b6e88b71dd4935a"
1231+
sha256: "9026676260f31bb5279cc5e59ca292145d8bab4aabede9aa2555c2a626ec66f1"
12001232
url: "https://pub.dev"
12011233
source: hosted
1202-
version: "3.1.0"
1234+
version: "3.2.0"
12031235
rxdart:
12041236
dependency: "direct main"
12051237
description:
@@ -1313,10 +1345,10 @@ packages:
13131345
dependency: transitive
13141346
description:
13151347
name: source_gen
1316-
sha256: "07b277b67e0096c45196cbddddf2d8c6ffc49342e88bf31d460ce04605ddac75"
1348+
sha256: "585bc140f20da42c584ece2df28f4d9ef2566955332b626f655957b3a8c8ad54"
13171349
url: "https://pub.dev"
13181350
source: hosted
1319-
version: "4.1.1"
1351+
version: "4.1.2"
13201352
source_helper:
13211353
dependency: transitive
13221354
description:
@@ -1409,10 +1441,10 @@ packages:
14091441
dependency: transitive
14101442
description:
14111443
name: sqlparser
1412-
sha256: "162435ede92bcc793ea939fdc0452eef0a73d11f8ed053b58a89792fba749da5"
1444+
sha256: f52f5d5649dcc13ed198c4176ddef74bf6851c30f4f31603f1b37788695b93e2
14131445
url: "https://pub.dev"
14141446
source: hosted
1415-
version: "0.42.1"
1447+
version: "0.43.0"
14161448
stack_trace:
14171449
dependency: transitive
14181450
description:
@@ -1457,42 +1489,42 @@ packages:
14571489
dependency: "direct main"
14581490
description:
14591491
name: syncfusion_flutter_calendar
1460-
sha256: c2af1a3b2ca8c9f71f30904a89634138eb15d6ffd994623088d218958c969b5a
1492+
sha256: af27535ba4d3c6e64a318172c8a76363c174863b4e2583b21555c47be92c315d
14611493
url: "https://pub.dev"
14621494
source: hosted
1463-
version: "32.1.22"
1495+
version: "32.1.23"
14641496
syncfusion_flutter_charts:
14651497
dependency: "direct main"
14661498
description:
14671499
name: syncfusion_flutter_charts
1468-
sha256: "2a0bf92a9d582b18fcdfaa794a130f83b596ffcb3efc758ee96191e7f91373b7"
1500+
sha256: "15e2b3576d00a03c003f71cf2c98f0eb61777d15e1590f4e83dff0f8dc50b7d8"
14691501
url: "https://pub.dev"
14701502
source: hosted
1471-
version: "32.1.22"
1503+
version: "32.1.23"
14721504
syncfusion_flutter_core:
14731505
dependency: "direct main"
14741506
description:
14751507
name: syncfusion_flutter_core
1476-
sha256: "7363e3a7489c71874c624945d8dcbbe1e2486bb7bce7ee5b7693f14c00581f52"
1508+
sha256: c9446faa7a5cd8f6496357e41e8c4b24e158a8760222d32a5837abc35dd5d629
14771509
url: "https://pub.dev"
14781510
source: hosted
1479-
version: "32.1.22"
1511+
version: "32.1.23"
14801512
syncfusion_flutter_datepicker:
14811513
dependency: "direct main"
14821514
description:
14831515
name: syncfusion_flutter_datepicker
1484-
sha256: "4a910c5135ef60d35310dd6c4bb452b99bb8853789963826c96f05e7f03d8cf6"
1516+
sha256: "30514aa392b569fbd1a11dc402a21b0c24ece05ce8f8f90aee7bfa92de99ed1e"
14851517
url: "https://pub.dev"
14861518
source: hosted
1487-
version: "32.1.22"
1519+
version: "32.1.23"
14881520
syncfusion_localizations:
14891521
dependency: transitive
14901522
description:
14911523
name: syncfusion_localizations
1492-
sha256: c564865c6a6637b1f30a477800c053f86fe4aa568b4dec607fe2ae53c3e1578e
1524+
sha256: ad27e3bfc98d079c0a19b818f240ed406e90eaf770bc7ad527319700f4ae2cac
14931525
url: "https://pub.dev"
14941526
source: hosted
1495-
version: "32.1.22"
1527+
version: "32.1.23"
14961528
synchronized:
14971529
dependency: transitive
14981530
description:
@@ -1617,10 +1649,10 @@ packages:
16171649
dependency: transitive
16181650
description:
16191651
name: url_launcher_web
1620-
sha256: "4bd2b7b4dc4d4d0b94e5babfffbca8eac1a126c7f3d6ecbc1a11013faa3abba2"
1652+
sha256: d0412fcf4c6b31ecfdb7762359b7206ffba3bbffd396c6d9f9c4616ece476c1f
16211653
url: "https://pub.dev"
16221654
source: hosted
1623-
version: "2.4.1"
1655+
version: "2.4.2"
16241656
url_launcher_windows:
16251657
dependency: transitive
16261658
description:
@@ -1689,10 +1721,10 @@ packages:
16891721
dependency: transitive
16901722
description:
16911723
name: video_player_avfoundation
1692-
sha256: d1eb970495a76abb35e5fa93ee3c58bd76fb6839e2ddf2fbb636674f2b971dd4
1724+
sha256: "2a7aaf2f28212c285e0fb29b50728bbea513d743dd48d3024098015f169fb937"
16931725
url: "https://pub.dev"
16941726
source: hosted
1695-
version: "2.8.9"
1727+
version: "2.8.10"
16961728
video_player_platform_interface:
16971729
dependency: transitive
16981730
description:
@@ -1807,5 +1839,5 @@ packages:
18071839
source: hosted
18081840
version: "3.1.3"
18091841
sdks:
1810-
dart: ">=3.10.0 <4.0.0"
1811-
flutter: ">=3.35.1"
1842+
dart: ">=3.10.3 <4.0.0"
1843+
flutter: ">=3.38.4"

0 commit comments

Comments
 (0)