Skip to main content

df_screen_core 0.8.2 copy "df_screen_core: ^0.8.2" to clipboard
df_screen_core: ^0.8.2 copied to clipboard

unlisted

A package that provides core code for the df_screen package.

example/lib/example.dart

import 'package:df_screen_core/df_screen_core.dart';

void main() {
  // Create a screen configuration.
  final config = const ModelScreenConfiguration(
    path: '/home',
    title: 'Home Screen',
    isAccessibleOnlyIfLoggedIn: true,
    args: {'userId': '123'},
  );

  print('Path: ${config.path}');
  print('Title: ${config.title}');
  print('User ID: ${config.arg<String>('userId')}');

  // Create config from current URL.
  final currentConfig = currentBaseConfiguration();
  print('Current path: ${currentConfig.path}');
}
3
likes
0
points
758
downloads

Publisher

verified publisherdev-cetera.com

Weekly Downloads

A package that provides core code for the df_screen package.

Homepage
Repository (GitHub)
View/report issues

Topics

#user-interface #widget #screen #page #layout

License

unknown (license)

Dependencies

df_generate_dart_models_core, df_log

More

Packages that depend on df_screen_core