adaptive_dialog_module 1.0.0 copy "adaptive_dialog_module: ^1.0.0" to clipboard
adaptive_dialog_module: ^1.0.0 copied to clipboard

This Module For Apply Adaptive Dialog Views.

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 #

1
likes
85
points
35
downloads

Publisher

unverified uploader

Weekly Downloads

This Module For Apply Adaptive Dialog Views.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_localizations, go_router, june_flow_util

More

Packages that depend on adaptive_dialog_module