Skip to content

iOS style fullscreen nested navigation #67

Answered by fujidaiti
huahua8893 asked this question in Q&A
Discussion options

You must be logged in to vote

Here is my solution for the sheet in the video you posted.

Code
import 'package:flutter/material.dart';
import 'package:smooth_sheets/smooth_sheets.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: CupertinoStackedTransition(
        child: Scaffold(
          body: Center(
            child: Builder(
              builder: (context) {
                return FilledButton(
                  onPressed: () {
                    showFullscreenNestedNavigationSheet(context);
                  },
                  child: const T…

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@DJWassink
Comment options

@fujidaiti
Comment options

@fujidaiti
Comment options

@DJWassink
Comment options

@fujidaiti
Comment options

Answer selected by fujidaiti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #56 on March 16, 2024 05:12.