Skip to content

Commit

Permalink
mtiziano#24, mtiziano#22, solved, readMore option added
Browse files Browse the repository at this point in the history
  • Loading branch information
shahbajjamil committed Dec 7, 2023
1 parent 2c1c7ee commit de192a9
Show file tree
Hide file tree
Showing 9 changed files with 369 additions and 233 deletions.
88 changes: 44 additions & 44 deletions .dart_tool/package_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,129 +3,129 @@
"packages": [
{
"name": "async",
"rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.5.0",
"rootUri": "file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/async-2.11.0",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "2.18"
},
{
"name": "boolean_selector",
"rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0",
"rootUri": "file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "2.17"
},
{
"name": "characters",
"rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "charcode",
"rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.2.0",
"rootUri": "file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/characters-1.3.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "clock",
"rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0",
"rootUri": "file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/clock-1.1.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "collection",
"rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0",
"rootUri": "file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/collection-1.18.0",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "2.18"
},
{
"name": "fake_async",
"rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0",
"rootUri": "file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/fake_async-1.3.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "flutter",
"rootUri": "file:///C:/flutter/packages/flutter",
"rootUri": "file:///Users/mdshahbajjamil/Developer/FlutterSDK/flutter/packages/flutter",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "3.2"
},
{
"name": "flutter_test",
"rootUri": "file:///C:/flutter/packages/flutter_test",
"rootUri": "file:///Users/mdshahbajjamil/Developer/FlutterSDK/flutter/packages/flutter_test",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "3.2"
},
{
"name": "matcher",
"rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.10",
"rootUri": "file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/matcher-0.12.16",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "2.18"
},
{
"name": "material_color_utilities",
"rootUri": "file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/material_color_utilities-0.5.0",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "meta",
"rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.3.0",
"rootUri": "file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/meta-1.10.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "path",
"rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0",
"rootUri": "file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/path-1.8.3",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "sky_engine",
"rootUri": "file:///C:/flutter/bin/cache/pkg/sky_engine",
"rootUri": "file:///Users/mdshahbajjamil/Developer/FlutterSDK/flutter/bin/cache/pkg/sky_engine",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "3.2"
},
{
"name": "source_span",
"rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.0",
"rootUri": "file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/source_span-1.10.0",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "2.18"
},
{
"name": "stack_trace",
"rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0",
"rootUri": "file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/stack_trace-1.11.1",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "2.18"
},
{
"name": "stream_channel",
"rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0",
"rootUri": "file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/stream_channel-2.1.2",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "2.19"
},
{
"name": "string_scanner",
"rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0",
"rootUri": "file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/string_scanner-1.2.0",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "2.18"
},
{
"name": "term_glyph",
"rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0",
"rootUri": "file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/term_glyph-1.2.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "test_api",
"rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.19",
"rootUri": "file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/test_api-0.6.1",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "3.0"
},
{
"name": "typed_data",
"rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0",
"name": "vector_math",
"rootUri": "file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/vector_math-2.1.4",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "2.14"
},
{
"name": "vector_math",
"rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0",
"name": "web",
"rootUri": "file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/web-0.3.0",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "3.2"
},
{
"name": "drop_cap_text",
Expand All @@ -134,7 +134,7 @@
"languageVersion": "2.12"
}
],
"generated": "2021-03-31T07:50:29.581742Z",
"generated": "2023-12-07T16:48:28.604167Z",
"generator": "pub",
"generatorVersion": "2.12.2"
"generatorVersion": "3.2.0"
}
124 changes: 62 additions & 62 deletions .dart_tool/package_config_subset
Original file line number Diff line number Diff line change
@@ -1,89 +1,89 @@
drop_cap_text
2.12
file:///C:/Users/Tiziano/Documents/_dev_repos/drop_cap_text/
file:///C:/Users/Tiziano/Documents/_dev_repos/drop_cap_text/lib/
async
2.12
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.5.0/
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.5.0/lib/
2.18
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/async-2.11.0/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/async-2.11.0/lib/
boolean_selector
2.12
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/lib/
2.17
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1/lib/
characters
2.12
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0/
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0/lib/
charcode
2.12
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.2.0/
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.2.0/lib/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/characters-1.3.0/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/characters-1.3.0/lib/
clock
2.12
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0/
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0/lib/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/clock-1.1.1/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/clock-1.1.1/lib/
collection
2.12
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0/
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0/lib/
2.18
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/collection-1.18.0/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/collection-1.18.0/lib/
fake_async
2.12
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0/
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0/lib/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/fake_async-1.3.1/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/fake_async-1.3.1/lib/
matcher
2.12
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.10/
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.10/lib/
2.18
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/matcher-0.12.16/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/matcher-0.12.16/lib/
material_color_utilities
2.17
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/material_color_utilities-0.5.0/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/material_color_utilities-0.5.0/lib/
meta
2.12
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.3.0/
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.3.0/lib/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/meta-1.10.0/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/meta-1.10.0/lib/
path
2.12
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0/
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0/lib/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/path-1.8.3/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/path-1.8.3/lib/
source_span
2.12
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.0/
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.0/lib/
2.18
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/source_span-1.10.0/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/source_span-1.10.0/lib/
stack_trace
2.12
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0/
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0/lib/
2.18
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/stack_trace-1.11.1/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/stack_trace-1.11.1/lib/
stream_channel
2.12
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0/
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0/lib/
2.19
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/stream_channel-2.1.2/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/stream_channel-2.1.2/lib/
string_scanner
2.12
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0/
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0/lib/
2.18
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/string_scanner-1.2.0/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/string_scanner-1.2.0/lib/
term_glyph
2.12
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0/
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0/lib/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/lib/
test_api
2.12
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.19/
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.19/lib/
typed_data
2.12
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0/
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0/lib/
3.0
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/test_api-0.6.1/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/test_api-0.6.1/lib/
vector_math
2.12
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0/
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0/lib/
2.14
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/vector_math-2.1.4/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/vector_math-2.1.4/lib/
web
3.2
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/web-0.3.0/
file:///Users/mdshahbajjamil/.pub-cache/hosted/pub.dev/web-0.3.0/lib/
sky_engine
2.12
file:///C:/flutter/bin/cache/pkg/sky_engine/
file:///C:/flutter/bin/cache/pkg/sky_engine/lib/
3.2
file:///Users/mdshahbajjamil/Developer/FlutterSDK/flutter/bin/cache/pkg/sky_engine/
file:///Users/mdshahbajjamil/Developer/FlutterSDK/flutter/bin/cache/pkg/sky_engine/lib/
flutter
2.12
file:///C:/flutter/packages/flutter/
file:///C:/flutter/packages/flutter/lib/
3.2
file:///Users/mdshahbajjamil/Developer/FlutterSDK/flutter/packages/flutter/
file:///Users/mdshahbajjamil/Developer/FlutterSDK/flutter/packages/flutter/lib/
flutter_test
3.2
file:///Users/mdshahbajjamil/Developer/FlutterSDK/flutter/packages/flutter_test/
file:///Users/mdshahbajjamil/Developer/FlutterSDK/flutter/packages/flutter_test/lib/
drop_cap_text
2.12
file:///C:/flutter/packages/flutter_test/
file:///C:/flutter/packages/flutter_test/lib/
file:///Users/mdshahbajjamil/Developer/Project/Learning%20new/drop_cap_text/
file:///Users/mdshahbajjamil/Developer/Project/Learning%20new/drop_cap_text/lib/
2
2 changes: 1 addition & 1 deletion .dart_tool/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.3
3.16.0
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ DropCapText(
| dropCapPosition | DropCapPosition | DropCapPosition.start | |
| textDirection | TextDirection | TextDirection.ltr | |
| maxLines | int | | |
| overflow | TextOverflow | TextOverflow.clip | |
| overflow | TextOverflow | TextOverflow.clip | |
| readmore | bool | false | |
| breakingLength | int | 150 | |
| readMorestyle | TextStyle | null | |



Expand Down
4 changes: 2 additions & 2 deletions android/local.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sdk.dir=C:\\Users\\Tiziano\\AppData\\Local\\Android\\Sdk
flutter.sdk=C:\\flutter
sdk.dir=/Users/mdshahbajjamil/Library/Android/sdk
flutter.sdk=/Users/mdshahbajjamil/Developer/FlutterSDK/flutter
5 changes: 5 additions & 0 deletions ios/Runner/GeneratedPluginRegistrant.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@
// Generated file. Do not edit.
//

// clang-format off

#ifndef GeneratedPluginRegistrant_h
#define GeneratedPluginRegistrant_h

#import <Flutter/Flutter.h>

NS_ASSUME_NONNULL_BEGIN

@interface GeneratedPluginRegistrant : NSObject
+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry;
@end

NS_ASSUME_NONNULL_END
#endif /* GeneratedPluginRegistrant_h */
2 changes: 2 additions & 0 deletions ios/Runner/GeneratedPluginRegistrant.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// Generated file. Do not edit.
//

// clang-format off

#import "GeneratedPluginRegistrant.h"

@implementation GeneratedPluginRegistrant
Expand Down
Loading

0 comments on commit de192a9

Please sign in to comment.