adaptive_dialog_module 1.0.0
adaptive_dialog_module: ^1.0.0 copied to clipboard
This Module For Apply Adaptive Dialog Views.
adaptive_dialog_module #
This Module For Apply Adaptive Dialog Views.
Installation #
- If the juneflow project doesn't exist, please create it by following this guide.
- open terminal in the juneflow project root directory, enter the following command.
june add adaptive_dialog_module
- in pubspec.yaml file, add the following library(flutter_localizations) in dependencies section.
dependencies:
flutter_localizations:
sdk: flutter
- in this file(lib/util/config/config_theme/_.dart), add the following code in dark theme.
import 'package:flutter/cupertino.dart'; // <- This is required !!!
static var darkTheme = ThemeData(
useMaterial3: true,
colorScheme: ColorScheme.fromSeed(
seedColor: Colors.blue,
brightness: Brightness.dark
),
fontFamily: null,
cupertinoOverrideTheme: const CupertinoThemeData(
textTheme: CupertinoTextThemeData(), // <- This is required !!!
),
);