Skip to content

Commit aa4bb4d

Browse files
committed
1.0.8
1 parent 8eb3427 commit aa4bb4d

File tree

14 files changed

+39
-1
lines changed

14 files changed

+39
-1
lines changed

Android/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,7 @@ For complete documentation, see [AppDimens Games Module](appdimens_games/README.
558558
559559
### 🔧 Testing Tools
560560
561+
{% raw %}
561562
```kotlin
562563
// Debug current screen configuration
563564
val (width, height) = AppDimensAdjustmentFactors.getCurrentScreenDimensions()
@@ -570,6 +571,7 @@ println("Device: ${DeviceType.current()}")
570571
val factors = AppDimensAdjustmentFactors.calculateAdjustmentFactors()
571572
println("Factors: ${factors}")
572573
```
574+
{% endraw %}
573575

574576
---
575577

Android/appdimens_dynamic/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ Final Value = (Base DP / Reference Width) × Current Screen Dimension
418418

419419
### 🔧 Debug Tools
420420

421+
{% raw %}
421422
```kotlin
422423
// Debug current screen configuration
423424
val (width, height) = AppDimensAdjustmentFactors.getCurrentScreenDimensions()
@@ -430,6 +431,7 @@ println("Device: ${DeviceType.current()}")
430431
val factors = AppDimensAdjustmentFactors.calculateAdjustmentFactors()
431432
println("Factors: ${factors}")
432433
```
434+
{% endraw %}
433435

434436
### 📋 Test Coverage
435437

Android/appdimens_games/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ android {
134134

135135
### CMake Configuration
136136

137+
{% raw %}
137138
```cmake
138139
# CMakeLists.txt
139140
cmake_minimum_required(VERSION 3.22.1)
@@ -145,6 +146,7 @@ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../../../appdimens_games/src/main/c
145146
# Link to your target
146147
target_link_libraries(${CMAKE_PROJECT_NAME} appdimens_games)
147148
```
149+
{% endraw %}
148150

149151
---
150152

Android/appdimens_sdps/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,7 @@ SDP expects scaled dimension resources in the format:
468468

469469
### 🔧 Debug Tools
470470

471+
{% raw %}
471472
```kotlin
472473
// Debug current screen configuration
473474
val (width, height) = AppDimensAdjustmentFactors.getCurrentScreenDimensions()
@@ -480,6 +481,7 @@ println("Device: ${DeviceType.current()}")
480481
val factors = AppDimensAdjustmentFactors.calculateAdjustmentFactors()
481482
println("Factors: ${factors}")
482483
```
484+
{% endraw %}
483485

484486
### 📋 Test Coverage
485487

Android/appdimens_ssps/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,7 @@ SSP expects scaled text resources in the format:
564564

565565
### 🔧 Debug Tools
566566

567+
{% raw %}
567568
```kotlin
568569
// Debug current screen configuration
569570
val (width, height) = AppDimensAdjustmentFactors.getCurrentScreenDimensions()
@@ -576,6 +577,7 @@ println("Device: ${DeviceType.current()}")
576577
val factors = AppDimensAdjustmentFactors.calculateAdjustmentFactors()
577578
println("Factors: ${factors}")
578579
```
580+
{% endraw %}
579581

580582
### 📋 Test Coverage
581583

DOCS/EXAMPLES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ function ResponsiveGrid({ items, onItemPress }: ResponsiveGridProps) {
10761076
keyExtractor={(item) => item.id}
10771077
numColumns={numColumns}
10781078
contentContainerStyle={styles.container}
1079-
key={`${numColumns}-${orientation}`}
1079+
key={numColumns + '-' + orientation}
10801080
/>
10811081
);
10821082
}

Flutter/PROMPT_FLUTTER.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ ElevatedButton(
246246

247247
## 10. Debugging
248248

249+
{% raw %}
249250
```dart
250251
// Get current screen info
251252
final screenInfo = AppDimens.getCurrentScreenInfo(context);
@@ -256,6 +257,7 @@ print('Device Type: ${screenInfo.deviceType}');
256257
final factors = AppDimens.calculateAdjustmentFactors(context);
257258
print('Aspect Ratio Factor: ${factors.aspectRatioFactor}');
258259
```
260+
{% endraw %}
259261

260262
By following this guide, you should be able to effectively use the AppDimens Flutter library to create responsive and visually consistent applications across all Flutter platforms.
261263

Flutter/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ Text(
166166

167167
### Grid Responsivo
168168

169+
{% raw %}
169170
```dart
170171
GridView.builder(
171172
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
@@ -191,6 +192,7 @@ GridView.builder(
191192
},
192193
)
193194
```
195+
{% endraw %}
194196

195197
### Botão Responsivo
196198

@@ -306,23 +308,27 @@ final dimension = AppDimens.fixed(100)
306308

307309
### Informações da Tela
308310

311+
{% raw %}
309312
```dart
310313
// Obter informações atuais da tela
311314
final screenInfo = AppDimens.getCurrentScreenInfo(context);
312315
print('Screen: ${screenInfo.width}x${screenInfo.height}');
313316
print('Device Type: ${screenInfo.deviceType}');
314317
print('UI Mode: ${screenInfo.uiModeType}');
315318
```
319+
{% endraw %}
316320

317321
### Fatores de Ajuste
318322

323+
{% raw %}
319324
```dart
320325
// Calcular fatores de ajuste
321326
final factors = AppDimens.calculateAdjustmentFactors(context);
322327
print('Aspect Ratio Factor: ${factors.aspectRatioFactor}');
323328
print('Density Factor: ${factors.densityFactor}');
324329
print('Device Type Factor: ${factors.deviceTypeFactor}');
325330
```
331+
{% endraw %}
326332

327333
## 📚 API Reference
328334

LANG/es/Android/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ Para documentación completa, vea [Módulo AppDimens Games](../../../Android/app
441441
442442
### 🔧 Herramientas de Prueba
443443
444+
{% raw %}
444445
```kotlin
445446
// Debug de la configuración actual de pantalla
446447
val (width, height) = AppDimensAdjustmentFactors.getCurrentScreenDimensions()
@@ -453,6 +454,7 @@ println("Dispositivo: ${DeviceType.current()}")
453454
val factors = AppDimensAdjustmentFactors.calculateAdjustmentFactors()
454455
println("Factores: ${factors}")
455456
```
457+
{% endraw %}
456458

457459
---
458460

LANG/es/Flutter/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ Text(
168168

169169
### Grid Responsivo
170170

171+
{% raw %}
171172
```dart
172173
GridView.builder(
173174
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
@@ -193,6 +194,7 @@ GridView.builder(
193194
},
194195
)
195196
```
197+
{% endraw %}
196198

197199
### Botón Responsivo
198200

0 commit comments

Comments
 (0)