hadss_geometry_transition 1.0.0-rc.0 copy "hadss_geometry_transition: ^1.0.0-rc.0" to clipboard
hadss_geometry_transition: ^1.0.0-rc.0 copied to clipboard

Animation of a page switching.

example/lib/main.dart

/*
 *  Copyright (c) 2025 Huawei Device Co., Ltd.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
import 'package:flutter/material.dart';
import 'components/home_screen.dart';

void main() => runApp(const GeometryTransitionApp());

class GeometryTransitionApp extends StatelessWidget {
  const GeometryTransitionApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: '一镜到底演示',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home:  const HomeScreen(),
      debugShowCheckedModeBanner: false,
    );
  }
}
0
likes
145
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

Animation of a page switching.

Homepage
Repository

Topics

#transition

Documentation

Documentation
API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on hadss_geometry_transition