pub package

juneflow_github

adaptive_dialog_module

This Module For Apply Adaptive Dialog Views.

Installation

  1. If the juneflow project doesn't exist, please create it by following this guide.
  2. open terminal in the juneflow project root directory, enter the following command.
june add adaptive_dialog_module
  1. in pubspec.yaml file, add the following library(flutter_localizations) in dependencies section.
dependencies:
 flutter_localizations:
   sdk: flutter
  1. 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 !!!
   ),
);

Usage