0 purchases
adaptive dialog module
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
copied to clipboard
in pubspec.yaml file, add the following library(flutter_localizations) in dependencies section.
dependencies:
flutter_localizations:
sdk: flutter
copied to clipboard
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 !!!
),
);
copied to clipboard
Usage #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.