You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
480 B
Dart
21 lines
480 B
Dart
// import 'package:car_customer_app/provider/counter.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:provider/provider.dart';
|
|
|
|
class AppProvider extends StatelessWidget {
|
|
final Widget child;
|
|
|
|
AppProvider({required this.child});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return child;
|
|
// return MultiProvider(
|
|
// providers: [
|
|
// ChangeNotifierProvider(create: (_) => Counter()),
|
|
// ],
|
|
// child: child,
|
|
// );
|
|
}
|
|
}
|