push_restapi_dart 0.2.4-alpha push_restapi_dart: ^0.2.4-alpha copied to clipboard
Push SDK provides an abstraction layer to integrate Push protocol features with your Frontend as well as Backend.
import 'package:flutter_riverpod/flutter_riverpod.dart';
import '__lib.dart';
void main() async {
runApp(
ProviderScope(
child: const MyApp(),
),
);
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return GetMaterialApp(
theme: ThemeData(
primaryColor: Colors.purple,
appBarTheme: AppBarTheme(backgroundColor: Colors.purple)),
home: HomeScreen(),
);
}
}