Skip to content

Commit 13b8396

Browse files
committed
Null exception
1 parent 9abfa0f commit 13b8396

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

android/src/main/java/com/devsonflutter/reflex/ReflexPlugin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ public static String getPluginTag() {
6868

6969
/* ------------- Flutter Variables -------------- */
7070
public static boolean debug;
71-
public static List<String> packageNameList;
72-
public static List<String> packageNameExceptionList;
71+
public static List<String> packageNameList = null;
72+
public static List<String> packageNameExceptionList = null;
7373
public static Map<String,Object> autoReply = null;
7474
/* ------------- Flutter Variables -------------- */
7575

example/lib/main.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ class _MyAppState extends State<MyApp> {
120120
SizedBox(
121121
height: 300,
122122
child: ListView.builder(
123+
reverse: true,
123124
itemCount: _notificationLogs.length,
124125
itemBuilder: (BuildContext context, int index) {
125126
final ReflexEvent element = _notificationLogs[index];

0 commit comments

Comments
 (0)