Skip to content

Commit 39a5b62

Browse files
authored
Create README.md
1 parent 7508e20 commit 39a5b62

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# flutter_multi_select_items
2+
https://pub.dev/packages/flutter_multi_select_items
3+
4+
This is a custom fork of the original package `flutter_multi_select` to address the deprecation and removal of `bodyText1` from `TextTheme`.
5+
6+
## Changes Made
7+
8+
### Fixed Issue: Deprecated `bodyText1`
9+
10+
The Flutter framework has deprecated `bodyText1` in favor of `bodyLarge`. As a result, any reference to `bodyText1` has been updated to ensure compatibility with the latest version of Flutter.
11+
12+
**Original:**
13+
14+
```dart
15+
Text(
16+
'Example Text',
17+
style: Theme.of(context).textTheme.bodyText1,
18+
)
19+
```
20+
21+
**Updated:**
22+
23+
```dart
24+
Text(
25+
'Example Text',
26+
style: Theme.of(context).textTheme.bodyLarge,
27+
)
28+
```
29+
30+
## How to Use This Fork
31+
32+
To use this fixed version of the package in your Flutter project, add the following to your `pubspec.yaml` file:
33+
34+
```yaml
35+
dependencies:
36+
package_name:
37+
git:
38+
url: https://github.com/larakreisz/flutter_multi_select.git
39+
ref: main
40+
```

0 commit comments

Comments
 (0)