app_widget_android 0.4.0 copy "app_widget_android: ^0.4.0" to clipboard
app_widget_android: ^0.4.0 copied to clipboard

PlatformAndroid

Android implementation for app_widget plugin

example/lib/main.dart

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: const Center(
          child: Text('Running on AppWidgetAndroid'),
        ),
      ),
    );
  }
}