# SuppliedNamedLocalThread<T> constructor

SuppliedNamedLocalThread<T>(

1. String name,
2. Supplier<T> supplier

)

Creates a SuppliedNamedLocalThread with the given `name` and `supplier` function.

## Parameters:

- `name`: A descriptive name for this thread-local variable
- `supplier`: A function that provides the initial value for each thread

## Example:

    // Various initialization patterns

    // Simple value initialization
    final defaultSettings = SuppliedNamedThreadLocal<Map<String, dynamic>>(
      'defaultSettings',
      () => {'theme': 'dark', 'language': 'en'},
    );

    // Complex object initialization
    final databaseConnection = SuppliedNamedThreadLocal<Connection>(
      'dbConnection',
      () => Database.connect('thread_local_db'),
    );

    // Stateful initialization with logging
    final activityLogger = SuppliedNamedThreadLocal<Logger>(
      'activityLogger',
      () {
        final logger = Logger('ThreadActivity');
        logger.info('Thread-local logger initialized');
        return logger;
      },
    );

## Implementation

    SuppliedNamedLocalThread(super.name, this.supplier);