flutter_sheet 1.0.0+4 copy "flutter_sheet: ^1.0.0+4" to clipboard
flutter_sheet: ^1.0.0+4 copied to clipboard

discontinued

Easily change the definition (such as theme, configuration,...) for the application

example/lib/main.dart

import 'package:example/providers/providers_app.dart';
import 'package:example/stylesheet/app_style.dart';
import 'package:example/text/app_text.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_sheet/flutter_sheet.dart';

import 'collections/collections_app.dart';

void main() {
  Sheet.setup(hotReload: kDebugMode);
  Sheet.registerLazyCollection<AppStyle>({
    'default': () => AppStyle(),
    'dart': () => AppDartStyle(),
  });
  Sheet.registerLazyCollection<AppText>({
    'default': () => const AppText(),
    'vi': () => const AppTextVi(),
  });
  runApp(const ProvidersApp());
  // runApp(const CollectionsApp());
}
0
likes
0
pub points
63%
popularity

Publisher

unverified uploader

Easily change the definition (such as theme, configuration,...) for the application

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, meta, provider

More

Packages that depend on flutter_sheet