Rumahjo-Android-APP/lib/Ui/screens/chat/chatAudio/globals.dart

17 lines
452 B
Dart
Raw Permalink Normal View History

2024-09-07 00:58:50 +00:00
import 'package:flutter/cupertino.dart';
import 'package:path_provider/path_provider.dart';
class ChatGlobals {
ChatGlobals._();
static void init() async {
documentPath = "${(await getApplicationDocumentsDirectory()).path}/";
}
static const double borderRadius = 27;
static const double defaultPadding = 8;
static String documentPath = '';
static GlobalKey<AnimatedListState> audioListKey =
GlobalKey<AnimatedListState>();
}